From 00b7a883ea7b9c74f5e9cd4d7f8288e74372a986 Mon Sep 17 00:00:00 2001 From: Prateek Saxena Date: Tue, 4 Nov 2014 14:08:33 +0530 Subject: [PATCH] mw.ui:checkbox: Fix indentation and add zero before decimal 'margin: 0 .4em;' can easily be misread as '0.4em' Change-Id: I8cc8ad76ed9da9907809ac6c39b614ce5b0451b7 --- .../src/mediawiki.ui/components/checkbox.less | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) 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 -- 2.20.1