Cleanup mw ui checkbox margins
authorjdlrobson <jdlrobson@gmail.com>
Tue, 4 Nov 2014 01:38:29 +0000 (17:38 -0800)
committerBartosz Dziewoński <matma.rex@gmail.com>
Tue, 4 Nov 2014 23:07:09 +0000 (23:07 +0000)
commit56f1da003418c81149f6686e16a16cdb329d3551
treefdc4af7539ab3993f685993c253a1f26fb134d8e
parentf90b34cee8c735b8343cb60812ee6e572fc62abf
Cleanup mw ui checkbox margins

The margin right should apply to the checkbox itself to create a
gap between the pseudo element checkbox and the label.

The existing setup causes rendering issues on io8 and is unnecessary
here. The purpose is to create a space for the checkbox. margin-right
doesn't make any difference to an absolutely positioned element and applying
margins to the label interferes with the pseudo elements themselves.

Bug: 72727
Change-Id: I72af4a53e22b1adb3a70af85f5453a1bc9830eb9
resources/src/mediawiki.ui/components/checkbox.less