From 3c8be1f182d943f1409ea62a1c1d025f76e9ba0a Mon Sep 17 00:00:00 2001 From: jdlrobson Date: Wed, 8 Oct 2014 11:20:57 -0700 Subject: [PATCH] Optimise checkboxes for Firefox mobile Bug: 71750 Change-Id: I19a6837423a2c9c9d3f758c7c6a869bd02c70460 --- resources/src/mediawiki.ui/components/checkbox.less | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/src/mediawiki.ui/components/checkbox.less b/resources/src/mediawiki.ui/components/checkbox.less index 826c82f00f..ce190e54a8 100644 --- a/resources/src/mediawiki.ui/components/checkbox.less +++ b/resources/src/mediawiki.ui/components/checkbox.less @@ -42,6 +42,8 @@ // ensure the invisible checkbox takes up the required width width: @checkboxSize; height: @checkboxSize; + // This is needed for Firefox mobile (See bug 71750 to workaround default Firefox stylesheet) + max-width: none; // the pseudo before element of the label after the checkbox now looks like a checkbox & + label { -- 2.20.1