Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <link rel="import" href="chrome://md-settings/settings_page/main_page_behavior.h tml"> | |
| 2 | |
| 3 <dom-module id="settings-page-styles"> | |
| 4 <template> | |
| 5 <style include="main-page-styles"> | |
| 6 :host { | |
| 7 --settings-page-padding-top: 21px; | |
| 8 box-sizing: border-box; | |
| 9 display: block; | |
| 10 height: 100%; | |
| 11 margin: 0 auto; | |
| 12 max-width: 960px; | |
| 13 min-width: 622px; | |
| 14 position: relative; | |
| 15 width: 96%; | |
| 16 } | |
| 17 | |
| 18 :host > * { | |
| 19 /* The margin and padding here are doing two things: make the total | |
| 20 * separation 24px; and make scrollIntoView align the section header | |
| 21 * with the top item in the side nav menu. Both things are desired | |
| 22 * by Alan (bettes@). */ | |
| 23 margin-bottom: 3px; | |
| 24 padding-top: var(--settings-page-padding-top); | |
| 25 } | |
| 26 | |
| 27 .expanded.frozen { | |
| 28 /* Account for padding in settings_page.css. */ | |
|
michaelpg
2016/05/25 18:27:47
fix comment
dschuyler
2016/05/25 21:16:17
Done.
| |
| 29 margin-top: -var(--settings-page-padding-top); | |
| 30 } | |
| 31 </style> | |
| 32 </template> | |
| 33 </dom-module> | |
| OLD | NEW |