From: Robert Kaiser Date: Fri, 3 Feb 2017 05:45:47 +0000 (+0100) Subject: apply height workaround to page info only X-Git-Tag: LCARStrek-2.48~3 X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=commitdiff_plain;h=4858801a8f625404bfaf9834b6d44b4e7c151f9b apply height workaround to page info only --- diff --git a/LCARStrek/browser/pageInfo.css b/LCARStrek/browser/pageInfo.css index 99be8a0d..8e95be04 100644 --- a/LCARStrek/browser/pageInfo.css +++ b/LCARStrek/browser/pageInfo.css @@ -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; diff --git a/LCARStrek/global/textbox.css b/LCARStrek/global/textbox.css index 104c1416..5929e7a4 100644 --- a/LCARStrek/global/textbox.css +++ b/LCARStrek/global/textbox.css @@ -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; }