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

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

Issue 2508183002: Fix vertical spacing of extended reporting checkbox. (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 | 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..b2f579c1dcb957eb31d5a4fb03e4fc3b58e78a6d 100644
--- a/chrome/browser/resources/settings/privacy_page/privacy_page.html
+++ b/chrome/browser/resources/settings/privacy_page/privacy_page.html
@@ -61,6 +61,17 @@
flex: 1;
text-align: end;
}
+
+ #safeBrowsingExtendedReporting {
+ align-items: center;
+ display: flex;
+ min-height: var(--settings-row-min-height);
+ }
+
+ #safeBrowsingExtendedReportingCheckbox {
+ display: inline-block;
+ }
+
</style>
<template is="dom-if" if="[[showClearBrowsingDataDialog_]]" restamp>
<settings-clear-browsing-data-dialog prefs="{{prefs}}"
@@ -87,11 +98,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