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

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

Issue 2474183002: MD Settings: fix up UMA restart button visual nits (Closed)
Patch Set: Created 4 years, 1 month 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/privacy_page/privacy_page.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/privacy_page/privacy_page.html
diff --git a/chrome/browser/resources/settings/privacy_page/privacy_page.html b/chrome/browser/resources/settings/privacy_page/privacy_page.html
index 8135320b63699c37b99ac30ad96b294e88c2f8f5..679507468dab5da6bf771fed13903229894b872e 100644
--- a/chrome/browser/resources/settings/privacy_page/privacy_page.html
+++ b/chrome/browser/resources/settings/privacy_page/privacy_page.html
@@ -45,7 +45,6 @@
#metricsReportingCheckbox {
display: inline-block;
- flex: 1;
}
#metricsReporting paper-tooltip {
@@ -55,6 +54,11 @@
#indicator {
-webkit-margin-start: var(--checkbox-spacing);
}
+
+ #restart {
+ flex: 1;
+ text-align: end;
+ }
</style>
<template is="dom-if" if="[[showClearBrowsingDataDialog_]]" restamp>
<settings-clear-browsing-data-dialog prefs="{{prefs}}"
@@ -111,7 +115,11 @@
</paper-tooltip>
</template>
<template is="dom-if" if="[[showRestart_]]" restamp>
- <paper-button on-tap="onRestartTap_">$i18n{restart}</paper-button>
+ <div id="restart">
+ <paper-button on-tap="onRestartTap_">
+ $i18n{restart}
+ </paper-button>
+ </div>
</template>
</div>
</if><!-- not chromeos -->
« no previous file with comments | « no previous file | chrome/browser/resources/settings/privacy_page/privacy_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698