Jdlrobson has uploaded a new change for review.
https://gerrit.wikimedia.org/r/165386
Change subject: MediaWiki UI: Use em's for the button width
......................................................................
MediaWiki UI: Use em's for the button width
In mobile iOS this causes overlap of buttons with footer text
on our Wikigrok widget.
We use
em's to create a margin for the button but since the button is defined
in pixels when zooming out of the page this causes overlap.
Bug: 71577
Change-Id: I0332b925a3f09c7f924aa48bd636f7fb19743ff7
---
M resources/src/mediawiki.ui/components/buttons.less
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/86/165386/1
diff --git a/resources/src/mediawiki.ui/components/buttons.less
b/resources/src/mediawiki.ui/components/buttons.less
index 01c481d..d303798 100644
--- a/resources/src/mediawiki.ui/components/buttons.less
+++ b/resources/src/mediawiki.ui/components/buttons.less
@@ -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;
--
To view, visit https://gerrit.wikimedia.org/r/165386
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0332b925a3f09c7f924aa48bd636f7fb19743ff7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits