From 454251c2910a916e0b107daa19ded0e3cab6f875 Mon Sep 17 00:00:00 2001 From: Volker E Date: Wed, 20 Feb 2019 23:56:44 -0800 Subject: [PATCH] mediawiki.ui: Align button height to standard (and input) Aligning to standard height of `32px` at base font size of `14px`, mediawiki.ui's inputs and OOUI. Bug: T209455 Change-Id: I3ef5bb0920aadd22667f0a9b3701e6714bc04133 --- resources/src/mediawiki.ui/components/buttons.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/src/mediawiki.ui/components/buttons.less b/resources/src/mediawiki.ui/components/buttons.less index ac7a2259e0..3490ebc1df 100644 --- a/resources/src/mediawiki.ui/components/buttons.less +++ b/resources/src/mediawiki.ui/components/buttons.less @@ -73,14 +73,14 @@ min-width: 4em; max-width: 28.75em; // equivalent to 460px, @see T95367 margin: 0; - padding: 0.546875em 1em; + padding: 0.57142857em 0.9375em; // equivalent to `8px 12px` border: @border-width-base @border-style-base @border-color-base; border-radius: @borderRadius; // Inherit the font rather than apply user agent stylesheet (T72072) font-family: inherit; font-size: 1em; font-weight: bold; - line-height: 1.286; + line-height: 1; text-align: center; // Disable weird iOS styling -webkit-appearance: none; -- 2.20.1