mediawiki.ui: Fix .mw-ui-input padding to be centered vertically
authorjarrettmunton <jmuntjmunt@gmail.com>
Sun, 8 Feb 2015 23:07:10 +0000 (17:07 -0600)
committerBartosz Dziewoński <matma.rex@gmail.com>
Sat, 14 Feb 2015 11:46:55 +0000 (11:46 +0000)
Changed the padding information in
resources/src/mediawiki.ui/components/inputs.less
from .4em .3em .2em .6em to .3em .3em .3em .6em
so that vertical spacing is centered properly.

Bug: T85284
Change-Id: I1e90e3f1922ebee205f6101e186ddb4ba7c19c10

resources/src/mediawiki.ui/components/inputs.less

index 67f6811..b16570a 100644 (file)
@@ -32,7 +32,7 @@
        border: 1px solid @colorFieldBorder;
        .box-sizing(border-box);
        width: 100%;
-       padding: .4em .3em .2em .6em;
+       padding: .3em .3em .3em .6em;
        display: block;
        vertical-align: middle;
        border-radius: @borderRadius;