apply height workaround to page info only
authorRobert Kaiser <kairo@kairo.at>
Fri, 3 Feb 2017 05:45:47 +0000 (06:45 +0100)
committerRobert Kaiser <kairo@kairo.at>
Fri, 3 Feb 2017 05:45:47 +0000 (06:45 +0100)
LCARStrek/browser/pageInfo.css
LCARStrek/global/textbox.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;
index 104c141676254ed60b0aaa271ff1d825eec5ecfb..5929e7a4186f38d3eb63f0437708de0b33bf0981 100644 (file)
@@ -41,15 +41,6 @@ html|*.textbox-textarea::placeholder {
   opacity: 1.0;
 }
 
-html|*.textbox-input > .anonymous-div,
-html|*.textbox-input::placeholder {
-  line-height: 1em; /* This would be ideal but doesn't work */
-}
-
-html|*.textbox-input {
-  /* max-height: 1em; work around the above rule that does not work */
-}
-
 .textbox-input-box menupopup {
   cursor: default;
 }