mediawiki.ui: Remove white-space: nowrap; for buttons
authorBartosz Dziewoński <matma.rex@gmail.com>
Sat, 1 Feb 2014 15:50:28 +0000 (16:50 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Sat, 1 Feb 2014 15:50:28 +0000 (16:50 +0100)
They are already display: inline-block; to prevent standard text-like
line-breaking; however, buttons with very long text might need
internal line-breaks to display nicely.

Bug: 60660
Change-Id: I095e375c498cd0f92615ec8f42e9ce5257f0213b

resources/mediawiki.ui/components/default/buttons.less

index 553d077..73b5dc4 100644 (file)
@@ -44,7 +44,6 @@
        // Content styling
        text-align: center;
        font-weight: bold;
-       white-space: nowrap;
        text-shadow: 0 1px rgba(0, 0, 0, .1);
 
        // Interaction styling