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

Unified Diff: chrome/browser/resources/settings/settings_page/settings_section.html

Issue 2264353004: MD Settings: Keep sliding subpages within card (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@TransitionsNoTestsFakeRebase
Patch Set: 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
« no previous file with comments | « no previous file | 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/settings_section.html
diff --git a/chrome/browser/resources/settings/settings_page/settings_section.html b/chrome/browser/resources/settings/settings_page/settings_section.html
index 28040b45d31fdca88883faa21985a66e00be36b2..604547432070dd7c480cf3f0e8129d4fc5c66d70 100644
--- a/chrome/browser/resources/settings/settings_page/settings_section.html
+++ b/chrome/browser/resources/settings/settings_page/settings_section.html
@@ -36,6 +36,8 @@
:host(.collapsing) #card,
:host(.expanded) #card {
@apply(--shadow-elevation-4dp);
+ /* A stacking context constrains sliding sub-pages to the card. */
+ z-index: 0;
}
:host(:not(.expanding):not(.expanded)) #card {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698