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

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

Issue 2715863002: MD Settings: make input label and error font size relative. (Closed)
Patch Set: overflowing error message so large fonts dont ellipsis Created 3 years, 10 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: chrome/browser/resources/settings/settings_vars_css.html
diff --git a/chrome/browser/resources/settings/settings_vars_css.html b/chrome/browser/resources/settings/settings_vars_css.html
index c4d1409101c867ec331ccc528204b06bd99fdf29..1fa88f765cc21564c6c15657f9ea0aa01428392b 100644
--- a/chrome/browser/resources/settings/settings_vars_css.html
+++ b/chrome/browser/resources/settings/settings_vars_css.html
@@ -103,8 +103,18 @@
color: inherit;
font-size: inherit;
font-weight: inherit;
+ line-height: inherit;
vertical-align: baseline;
};
+ --paper-input-container-label: {
+ font-size: inherit;
+ line-height: inherit;
+ }
+ --paper-input-error: {
+ font-size: 92.31%; /* Should be 12px when 100% is 13px. */
+ line-height: inherit;
+ overflow: visible; /* Half-visible error message is not useful at all. */
+ }
--paper-input-max-width: 264px;
--paper-radio-button-ink-size: 40px;
--paper-radio-button-label-color: inherit;

Powered by Google App Engine
This is Rietveld 408576698