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

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

Issue 2230123002: MD Settings: fix collapse animation once and for all (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Overscroll2
Patch Set: rebase, rebase fix (doWhenReady) Created 4 years, 4 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
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 c253f5d5f15ac7a01b97ebf4f580291b4c440d5d..a2b080cd4d0a61375a7c57a6951145dcf3bad5a9 100644
--- a/chrome/browser/resources/settings/settings_page_css.html
+++ b/chrome/browser/resources/settings/settings_page_css.html
@@ -15,6 +15,11 @@
width: 96%;
}
+ :host(.showing-subpage) {
+ /* Set the height to the container height so the subpage scrolls. */
+ height: 100%;
+ }
+
:host > div {
height: inherit;
}

Powered by Google App Engine
This is Rietveld 408576698