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

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

Issue 2829373003: [MD settings] change spacing between controlledBy icon and control (Closed)
Patch Set: merge with master Created 3 years, 7 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 | ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.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..df305d1084f0e01f59304d5d0ea93c9ff1c9276d 100644
--- a/chrome/browser/resources/settings/controls/controlled_button.html
+++ b/chrome/browser/resources/settings/controls/controlled_button.html
@@ -29,11 +29,15 @@
}
:host(:not([end-justified])) cr-policy-pref-indicator {
- -webkit-margin-start: var(--justify-margin);
+ -webkit-margin-end: calc(
+ var(--cr-control-spacing) - var(--justify-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(
+ var(--cr-control-spacing) - var(--justify-margin));
order: -1;
}
</style>
« no previous file with comments | « no previous file | ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698