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

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: for review 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 160470e9e9f1bcacf62a9875a117486ccd5ca325..356224bab44de34dc3e970c1369c6accc9957880 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