Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Side by Side Diff: chrome/browser/resources/settings/settings_page/main_page_behavior.html

Issue 1992563002: MD Settings: Expanding cards should not overlap header, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: formatting Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/settings/settings_ui/settings_ui.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <link rel="import" href="chrome://resources/html/polymer.html"> 1 <link rel="import" href="chrome://resources/html/polymer.html">
2 <link rel="import" href="chrome://md-settings/settings_page/transition_behavior. html"> 2 <link rel="import" href="chrome://md-settings/settings_page/transition_behavior. html">
3 <script src="chrome://md-settings/settings_page/main_page_behavior.js"></script> 3 <script src="chrome://md-settings/settings_page/main_page_behavior.js"></script>
4 4
5 <dom-module id="main-page-styles"> 5 <dom-module id="main-page-styles">
6 <template> 6 <template>
7 <style> 7 <style>
8 .expanding, 8 .expanding,
9 .collapsing { 9 .collapsing {
10 z-index: 2; 10 /* Must be lower than the paper-header-panel's z-index.
11 * See settings_ui.html. */
12 z-index: 1;
11 } 13 }
12 14
13 .expanded { 15 .expanded {
14 min-height: 100%; 16 min-height: 100%;
15 } 17 }
16 18
17 .expanded.frozen { 19 .expanded.frozen {
18 /* Account for padding in settings_page.css. */ 20 /* Account for padding in settings_page.css. */
19 margin: -24px 0; 21 margin: -24px 0;
20 min-height: calc(100% + 48px); 22 min-height: calc(100% + 48px);
21 } 23 }
22 </style> 24 </style>
23 </template> 25 </template>
24 </dom-module> 26 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/settings/settings_ui/settings_ui.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698