Index: chrome/browser/resources/settings/settings_shared_css.html |
diff --git a/chrome/browser/resources/settings/settings_shared_css.html b/chrome/browser/resources/settings/settings_shared_css.html |
index f5a4653719711fb0ae0c50a934a781dcc2eea6ef..54203fafb937c5958a58f118490de9e0235fc9f0 100644 |
--- a/chrome/browser/resources/settings/settings_shared_css.html |
+++ b/chrome/browser/resources/settings/settings_shared_css.html |
@@ -27,6 +27,18 @@ |
--iron-icon-fill-color: var(--google-green-500); |
} |
+ paper-icon-button { |
+ -webkit-margin-end: var(--cr-icon-ripple-margin); |
+ -webkit-margin-start: 16px; |
+ color: var(--paper-grey-600); |
+ flex-shrink: 0; |
+ } |
+ |
+ .separator + button[is='paper-icon-button-light'], |
+ .separator + paper-icon-button { |
+ -webkit-margin-start: var(--cr-icon-ripple-margin)); |
+ } |
+ |
/* See notes in .primary-button. |
* TODO(dschuyler): Remove unnecessary .secondary-button references. */ |
paper-button { |
@@ -50,8 +62,19 @@ |
background-color: var(--paper-grey-300); |
} |
- .settings-box paper-button { |
+ /* If a button is at the end of the row, shift it to overlap the end of |
+ * the row. */ |
+ .settings-box paper-button:last-of-type { |
-webkit-margin-end: calc(var(--settings-button-edge-spacing) * -1); |
+ } |
+ |
+ /* Space out multiple buttons in the same row. */ |
+ .settings-box paper-button + paper-button { |
+ -webkit-margin-start: 16px; |
+ } |
+ |
+ /* Adjust the margin between the separator and the first button. */ |
+ .settings-box .separator + paper-button { |
-webkit-margin-start: calc(var(--settings-button-edge-spacing) * -1); |
} |