installer: Hide empty textbox if no extension tables were created
authorKunal Mehta <legoktm@member.fsf.org>
Thu, 12 Apr 2018 07:23:42 +0000 (00:23 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Thu, 12 Apr 2018 07:24:47 +0000 (00:24 -0700)
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

mw-config/config.css

index ea5835d..2468c71 100644 (file)
        min-width: 20em;
 }
 
+/* Hide empty live-log textarea */
+#config-live-log textarea:empty {
+       display: none;
+}
+
 /* tooltip styles */
 .config-help-field-hint {
        display: none;