Mooeypoo has uploaded a new change for review.
https://gerrit.wikimedia.org/r/187458
Change subject: Add nowrap to ActionFieldLayout button
......................................................................
Add nowrap to ActionFieldLayout button
Make sure that buttons with more than one word in their labels do
not get word-break in the ActionFieldLayout.
Change-Id: Ifd825c3d89e80c132296645cda8accd4e4af4211
---
M src/styles/layouts/ActionFieldLayout.less
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/58/187458/1
diff --git a/src/styles/layouts/ActionFieldLayout.less
b/src/styles/layouts/ActionFieldLayout.less
index 7202f40..2d4c2a6 100644
--- a/src/styles/layouts/ActionFieldLayout.less
+++ b/src/styles/layouts/ActionFieldLayout.less
@@ -19,6 +19,7 @@
&-button {
width: 1%;
+ white-space: nowrap;
}
.theme-oo-ui-actionFieldLayout();
--
To view, visit https://gerrit.wikimedia.org/r/187458
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifd825c3d89e80c132296645cda8accd4e4af4211
Gerrit-PatchSet: 1
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: Mooeypoo <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits