apply height workaround to page info only
[themes.git] / LCARStrek / browser / pageInfo.css
index 99be8a0d569caaefce9954c573f1d942433675d6..8e95be04d6c43f6d68864b9577d45b9e88efaacf 100644 (file)
@@ -108,15 +108,17 @@ textbox {
   -moz-appearance: none;
 }
 
+/* This would be ideal but doesn't work */
+/*
 html|*.textbox-input > .anonymous-div,
-html|*.textbox-input > html|*.anonymous-div,
-html|div.anonymous-div,
-.anonymous-div,
-div,
-html|*.textbox-input,
 html|*.textbox-input::placeholder {
   line-height: 1em !important;
 }
+*/
+
+textbox[readonly="true"] html|*.textbox-input {
+  max-height: 1em; /* work around the above rule that does not work */
+}
 
 textbox.header {
   margin-inline-start: 0;