Ensure that span.mw-ui-icon is inline-block
[lhc/web/wiklou.git] / resources / src / mediawiki.ui / components / inputs.less
index 74dc0b7..bbfd528 100644 (file)
        width: 100%;
        border: 1px solid @colorFieldBorder;
        border-radius: @borderRadius;
-       padding: 0.625em 0.625em 0.546875em;
+       padding: 0.57142857em 0.57142857em 0.5em;
        // necessary for smooth transition
        box-shadow: inset 0 0 0 0.1em #fff;
        font-family: inherit;
        font-size: inherit;
-       line-height: 1.172em;
+       line-height: 1.07142857em;
        vertical-align: middle;
 
        // Normalize & style placeholder text, see T139034
@@ -73,7 +73,7 @@
        }
 
        // Normalize styling for `<input type="search">`
-       &[type='search'] {
+       &[ type='search' ] {
                // Correct the odd appearance in Chrome and Safari 5
                -webkit-appearance: textfield;
 
@@ -103,7 +103,7 @@ textarea.mw-ui-input {
 // <button class="mw-ui-button mw-ui-progressive">Submit</button>
 //
 // Styleguide 1.2.
-input[type='number'],
+input[ type='number' ],
 .mw-ui-input-inline {
        display: inline-block;
        width: auto;