mediawiki.ui: checkbox: Correct alignment of long labels
authorBartosz Dziewoński <matma.rex@gmail.com>
Tue, 23 Dec 2014 20:50:03 +0000 (21:50 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Tue, 20 Jan 2015 08:42:27 +0000 (08:42 +0000)
commit5a9350483313cd7ade79a725ab3e71c86b2c0f21
tree0ded703e44e1fb41154c16cb73d01f2752190278
parentbec65aad736f42e9ea215d1dc5ac91ed287596a9
mediawiki.ui: checkbox: Correct alignment of long labels

Use display: table-cell; to display the checkbox and the label
side-by-side. I am honestly surprised that this works here. Not sure
if it's a good idea to use… although we successfully did it for
OOjs UI in 2498265b, but we have more control over everything there.

Bug: T85241
Change-Id: I381d05360ad3e7ab153f56772fffb650dab5cda9
resources/src/mediawiki.ui/components/checkbox.less