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

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

Issue 2508183002: Fix vertical spacing of extended reporting checkbox. (Closed)
Patch Set: remove extra whitespace 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 | no next file » | 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 a574ec8634b9581b59b446c4c9e2ba3cef2e8c6e..7d920afc81a4c6f07ed2af9be8e991f5506572b5 100644
--- a/chrome/browser/resources/settings/privacy_page/privacy_page.html
+++ b/chrome/browser/resources/settings/privacy_page/privacy_page.html
@@ -39,13 +39,15 @@
/* TODO(dbeam): this is similar to a 1 line checkbox. Worth somehow
* combining? */
- #metricsReporting {
+ #metricsReporting,
+ #safeBrowsingExtendedReporting {
align-items: center;
display: flex;
- min-height: var(--settings-row-min-height);
+ min-height: var(--settings-row-min-height);
}
- #metricsReportingCheckbox {
+ #metricsReportingCheckbox,
+ #safeBrowsingExtendedReportingCheckbox {
display: inline-block;
}
@@ -60,7 +62,7 @@
#restart {
flex: 1;
text-align: end;
- }
+ }
</style>
<template is="dom-if" if="[[showClearBrowsingDataDialog_]]" restamp>
<settings-clear-browsing-data-dialog prefs="{{prefs}}"
@@ -87,11 +89,13 @@
label="$i18n{networkPredictionEnabled}"
hidden="[[!pageVisibility.networkPrediction]]">
</settings-checkbox>
- <paper-checkbox id="safeBrowsingExtendedReportingCheckbox"
- on-tap="onSafeBrowsingExtendedReportingCheckboxTap_"
- checked="[[safeBrowsingExtendedReportingEnabled_]]">
- $i18n{safeBrowsingEnableExtendedReporting}
- </paper-checkbox>
+ <div id="safeBrowsingExtendedReporting">
+ <paper-checkbox id="safeBrowsingExtendedReportingCheckbox"
+ on-tap="onSafeBrowsingExtendedReportingCheckboxTap_"
+ checked="[[safeBrowsingExtendedReportingEnabled_]]">
+ $i18n{safeBrowsingEnableExtendedReporting}
+ </paper-checkbox>
+ </div>
<settings-checkbox pref="{{prefs.safebrowsing.enabled}}"
label="$i18n{safeBrowsingEnableProtection}">
</settings-checkbox>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698