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

Unified Diff: ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.html

Issue 2178273002: MD Settings: add a <controlled-button> that uses prefs to disable itself (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: asdf Created 4 years, 5 months 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
Index: ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.html
diff --git a/ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.html b/ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.html
index 7a23a8d45e64ccc67a5796a373388ff00b6c1c3b..393061d84a799e7f11ea45e3565b0772c84ee097 100644
--- a/ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.html
+++ b/ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.html
@@ -12,6 +12,8 @@
--paper-tooltip: {
font-size: 92.31%; /* Effectively 12px if the host default is 13px. */
font-weight: 500;
+ max-width: 330px;
+ min-width: 200px;
padding: 10px 8px;
};
}
@@ -20,7 +22,7 @@
<iron-icon id="indicator" tabindex=0
hidden$="[[!isIndicatorVisible(indicatorType)]]"
icon="[[getPolicyIndicatorIcon(indicatorType)]]"></iron-icon>
- <paper-tooltip for="indicator" position="top">
+ <paper-tooltip for="indicator" position="top" fit-to-visible-bounds>
Dan Beam 2016/07/26 22:28:41 i can split these to a separate change if you'd li
[[getTooltip_(indicatorType, pref, controllingUser)]]
</paper-tooltip>
</template>

Powered by Google App Engine
This is Rietveld 408576698