Index: ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.css |
diff --git a/chrome/browser/resources/settings/checkbox/checkbox.css b/ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.css |
similarity index 52% |
copy from chrome/browser/resources/settings/checkbox/checkbox.css |
copy to ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.css |
index ad35bc55961db1a8f952c62364dc09bd42b8328a..518050d28fe4d6c7b7e91c335098b31270ee2e34 100644 |
--- a/chrome/browser/resources/settings/checkbox/checkbox.css |
+++ b/ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.css |
@@ -2,20 +2,15 @@ |
* Use of this source code is governed by a BSD-style license that can be |
* found in the LICENSE file. */ |
+/* Note: we use display: block here to avoid positioning issues related to |
+ * the use of overflow: hidden. */ |
:host { |
display: block; |
- margin-bottom: 10px; |
- margin-top: 10px; |
+ height: 20px; |
+ width: 20px; |
} |
-#checkbox { |
- -webkit-margin-end: 10px; |
-} |
- |
-.main-label { |
- -webkit-margin-end: 10px; |
-} |
- |
-.sub-label { |
- color: rgba(0, 0, 0, .5); |
+img { |
+ height: 100%; |
+ width: 100%; |
} |