From: jdlrobson Date: Wed, 8 Oct 2014 18:20:57 +0000 (-0700) Subject: Optimise checkboxes for Firefox mobile X-Git-Tag: 1.31.0-rc.0~13645^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/journal.php?a=commitdiff_plain;h=3c8be1f182d943f1409ea62a1c1d025f76e9ba0a;p=lhc%2Fweb%2Fwiklou.git Optimise checkboxes for Firefox mobile Bug: 71750 Change-Id: I19a6837423a2c9c9d3f758c7c6a869bd02c70460 --- 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 {