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

Unified Diff: chrome/browser/resources/settings/settings_page_css.html

Issue 2018753002: [MD settings] refine routing function (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review change 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/settings/settings_page/settings_animated_pages.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/settings_page_css.html
diff --git a/chrome/browser/resources/settings/settings_page_css.html b/chrome/browser/resources/settings/settings_page_css.html
index d888b44147e284753760bb725eaace1dd8092713..1b6d6b73d0f2c413b0a7e91d3d058dc0e98fbb87 100644
--- a/chrome/browser/resources/settings/settings_page_css.html
+++ b/chrome/browser/resources/settings/settings_page_css.html
@@ -7,7 +7,7 @@
--settings-page-padding-top: 21px;
box-sizing: border-box;
display: block;
- height: 100%;
+ height: inherit;
margin: 0 auto;
max-width: 960px;
min-width: 622px;
@@ -15,7 +15,11 @@
width: 96%;
}
- :host > * {
+ :host > div {
+ height: inherit;
+ }
+
+ :host > div > * {
/* The margin and padding here are doing two things: make the total
* separation 24px; and make scrollIntoView align the section header
* with the top item in the side nav menu. Both things are desired
« no previous file with comments | « chrome/browser/resources/settings/settings_page/settings_animated_pages.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698