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

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

Issue 2704733002: MD Settings: Fix date and time layout (Closed)
Patch Set: Use calculated var(--settings-box-row-indent) Created 3 years, 10 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/device_page/pointers.html ('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_vars_css.html
diff --git a/chrome/browser/resources/settings/settings_vars_css.html b/chrome/browser/resources/settings/settings_vars_css.html
index 381526fe2549490b4bb41fa2ac6c3c2cd36153b7..54f46c42ad832b0e87e1d912d575bb6bb7aa2613 100644
--- a/chrome/browser/resources/settings/settings_vars_css.html
+++ b/chrome/browser/resources/settings/settings_vars_css.html
@@ -15,6 +15,8 @@
--settings-background-color: rgb(241, 241, 241);
--settings-box-row-padding: 20px;
+ --settings-box-row-indent: calc(
+ var(--settings-box-row-padding) + var(--settings-indent-width));
michaelpg 2017/02/19 05:40:45 indent +2
stevenjb 2017/02/21 17:50:14 Done.
--settings-indent-width: 36px;
--settings-card-max-width: 680px;
--settings-disabled-opacity: .65;
@@ -22,8 +24,7 @@
--settings-list-frame-padding: {
-webkit-padding-end: var(--settings-box-row-padding);
- -webkit-padding-start: calc(
- var(--settings-box-row-padding) + var(--settings-indent-width));
+ -webkit-padding-start: var(--settings-box-row-indent);
padding-bottom: 0;
padding-top: 0;
}
« no previous file with comments | « chrome/browser/resources/settings/device_page/pointers.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698