aboutsummaryrefslogtreecommitdiffstats
path: root/resources/src
diff options
context:
space:
mode:
authorjdlrobson <jdlrobson@gmail.com>2014-10-08 11:20:57 -0700
committerjdlrobson <jdlrobson@gmail.com>2014-10-08 11:20:57 -0700
commit3c8be1f182d943f1409ea62a1c1d025f76e9ba0a (patch)
treed568a8bc99516fd69113199803a84cb7b9496729 /resources/src
parent3e87e7edf53d855501977fd3ede9bf086e5f8c99 (diff)
downloadmediawikicore-3c8be1f182d943f1409ea62a1c1d025f76e9ba0a.tar.gz
mediawikicore-3c8be1f182d943f1409ea62a1c1d025f76e9ba0a.zip
Optimise checkboxes for Firefox mobile
Bug: 71750 Change-Id: I19a6837423a2c9c9d3f758c7c6a869bd02c70460
Diffstat (limited to 'resources/src')
-rw-r--r--resources/src/mediawiki.ui/components/checkbox.less2
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/src/mediawiki.ui/components/checkbox.less b/resources/src/mediawiki.ui/components/checkbox.less
index 826c82f00f59..ce190e54a8a6 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 {