From 8fefafe45d2a1c5fb9d5ca71c92e9975017e56a0 Mon Sep 17 00:00:00 2001 From: Derk-Jan Hartman Date: Tue, 10 Nov 2015 21:48:25 +0100 Subject: [PATCH] Avoid using !important and hide the nolabel instead Instead of playing catchup with width settings, let's simply hide the table cells with nolabel. This seems closer to the original intent, and it works with at least IE8 as well, so why not. It does effectively move every element without a label 1em (padding) + 1px to the left in your preferences. This will likely be noticeable by endusers. Follow-up to: I24d9b16ed672 Change-Id: I92083687ef8a9a6e5fc9c822f9449a1aa7ed7ea1 --- resources/src/mediawiki/mediawiki.htmlform.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/src/mediawiki/mediawiki.htmlform.css b/resources/src/mediawiki/mediawiki.htmlform.css index b598211aaf..765e92fabe 100644 --- a/resources/src/mediawiki/mediawiki.htmlform.css +++ b/resources/src/mediawiki/mediawiki.htmlform.css @@ -1,7 +1,7 @@ /* HTMLForm styles */ table.mw-htmlform-nolabel td.mw-label { - width: 1px !important; + display: none; } .mw-htmlform-invalid-input td.mw-input input { -- 2.20.1