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

Unified Diff: chrome/browser/resources/settings/controls/controlled_button.html

Issue 2829373003: [MD settings] change spacing between controlledBy icon and control (Closed)
Patch Set: Created 3 years, 8 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 | chrome/browser/resources/settings/settings_shared_css.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/controls/controlled_button.html
diff --git a/chrome/browser/resources/settings/controls/controlled_button.html b/chrome/browser/resources/settings/controls/controlled_button.html
index ddad0bd78955009aa974ad04f9c7ee5fcac85054..8c967249064d92c33c9782682f15a4a67c481676 100644
--- a/chrome/browser/resources/settings/controls/controlled_button.html
+++ b/chrome/browser/resources/settings/controls/controlled_button.html
@@ -13,7 +13,8 @@
:host {
align-items: center;
display: flex;
- --justify-margin: 18px;
+ margin-left: var(--secondary-action-button-margin);
+ margin-right: var(--secondary-action-button-margin);
}
:host([enforced_]) {
@@ -29,11 +30,15 @@
}
:host(:not([end-justified])) cr-policy-pref-indicator {
- -webkit-margin-start: var(--justify-margin);
+ -webkit-margin-end: calc(
+ var(--cr-control-spacing) - var(--secondary-action-button-margin));
+ -webkit-margin-start: var(--cr-control-spacing);
}
:host([end-justified]) cr-policy-pref-indicator {
- -webkit-margin-end: var(--justify-margin);
+ -webkit-margin-end: var(--cr-control-spacing);
+ -webkit-margin-start:calc(
Dan Beam 2017/04/26 20:48:29 nit: space after :
+ var(--cr-control-spacing) - var(--secondary-action-button-margin));
order: -1;
}
</style>
« no previous file with comments | « no previous file | chrome/browser/resources/settings/settings_shared_css.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698