Index: ui/webui/resources/css/widgets.css |
diff --git a/ui/webui/resources/css/widgets.css b/ui/webui/resources/css/widgets.css |
index 2ab881aa5e286c7a88fc6e040f3c6a9b4230866a..d475261edc42c3a6f2cad4ce5ac7241e0dd5be1f 100644 |
--- a/ui/webui/resources/css/widgets.css |
+++ b/ui/webui/resources/css/widgets.css |
@@ -117,6 +117,13 @@ input[type='search']::-webkit-textfield-decoration-container { |
direction: inherit; |
} |
+[i18n-content]:empty, |
+[i18n-values*=".innerHTML:"]:empty { |
Dan Beam
2015/04/10 02:32:59
so, what's the chance that even after i18nTemplate
Evan Stade
2015/04/10 14:14:41
hum, ida know. You could always add a class to the
Dan Beam
2015/04/10 23:42:52
Done.
|
+ /* Minimize flicker by increasing height to at least 1 line of text before |
+ * i18n_process.js has a chance to run. */ |
+ min-height: 1em; |
Evan Stade
2015/04/10 14:14:41
is 1 em really guaranteed to be the height of a li
Dan Beam
2015/04/10 23:42:52
Done.
|
+} |
+ |
/* Checked ********************************************************************/ |
input[type='checkbox']:checked::before { |
@@ -314,4 +321,4 @@ extensionview { |
display: inline-block; |
height: 300px; |
width: 300px; |
-} |
+} |