From: Kunal Mehta Date: Thu, 12 Apr 2018 07:23:42 +0000 (-0700) Subject: installer: Hide empty textbox if no extension tables were created X-Git-Tag: 1.31.0-rc.0~110 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=b3db0b5be1166712d4ade273782b8e801448b82a installer: Hide empty textbox if no extension tables were created The textarea is for extension update messages to go, but in some cases extensions don't create any tables so you're left with an empty, confusing textbox. Hide it with CSS if it's empty, since that's an expected condition. Bug: T48802 Change-Id: I798d07d1d6ed65011e9f2a2ac5cc77ad0595df7d --- diff --git a/mw-config/config.css b/mw-config/config.css index ea5835d487..2468c71563 100644 --- a/mw-config/config.css +++ b/mw-config/config.css @@ -174,6 +174,11 @@ min-width: 20em; } +/* Hide empty live-log textarea */ +#config-live-log textarea:empty { + display: none; +} + /* tooltip styles */ .config-help-field-hint { display: none;