From: Prateek Saxena Date: Tue, 4 Nov 2014 08:38:33 +0000 (+0530) Subject: mw.ui:checkbox: Fix indentation and add zero before decimal X-Git-Tag: 1.31.0-rc.0~13405^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22auteur_infos%22%2C%20%22id_auteur=%24id%22%29%20.%20%22?a=commitdiff_plain;h=00b7a883ea7b9c74f5e9cd4d7f8288e74372a986;p=lhc%2Fweb%2Fwiklou.git mw.ui:checkbox: Fix indentation and add zero before decimal 'margin: 0 .4em;' can easily be misread as '0.4em' Change-Id: I8cc8ad76ed9da9907809ac6c39b614ce5b0451b7 --- diff --git a/resources/src/mediawiki.ui/components/checkbox.less b/resources/src/mediawiki.ui/components/checkbox.less index 4204c29918..929cf61276 100644 --- a/resources/src/mediawiki.ui/components/checkbox.less +++ b/resources/src/mediawiki.ui/components/checkbox.less @@ -54,20 +54,20 @@ // the pseudo before element of the label after the checkbox now looks like a checkbox & + label { cursor: pointer; - margin: 0 .4em; + margin: 0 0.4em; &::before { - content: ''; - position: absolute; - left: 0; - display: inline-block; - border-radius: @borderRadius; - margin-right: 18px; - width: @checkboxSize; - height: @checkboxSize; - background-color: #fff; - border: 1px solid grey; - } + content: ''; + position: absolute; + left: 0; + display: inline-block; + border-radius: @borderRadius; + margin-right: 18px; + width: @checkboxSize; + height: @checkboxSize; + background-color: #fff; + border: 1px solid grey; + } } // when the input is checked, style the label pseudo before element that followed as a checked checkbox