Merge "MediaWiki UI: Use em's for the button width"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Wed, 8 Oct 2014 21:40:32 +0000 (21:40 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 8 Oct 2014 21:40:32 +0000 (21:40 +0000)
1  2 
resources/src/mediawiki.ui/components/buttons.less

@@@ -47,7 -47,7 +47,7 @@@
        // Container styling
        .button-colors(#FFF);
        border-radius: @borderRadius;
-       min-width: 70px;
+       min-width: 4em;
  
        // Ensure that buttons and inputs are nicely aligned when they have differing heights
        vertical-align: middle;
  
        // Quiet buttons
        //
 -      // Use quiet buttons when they are less important and alongisde other progressive/destructive/progressive buttons.
 +      // Use quiet buttons when they are less important and alongside other constructive/progressive/destructive buttons.
 +      // Use of quiet buttons is not recommended on mobile/tablet due to lack of hover state.
        //
        // Markup:
        // <div>