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