From 59955251feb045f5309eb9543a1748f0cba193f3 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Tue, 17 Oct 2017 11:25:32 +0100 Subject: [PATCH] Fix button alignment in MW mobile Change-Id: I4b29dfef672f48bc6d2b6644b1e0da5a7ada521a --- .../init/styles/ve.init.mw.MobileArticleTarget.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/ve-mw/init/styles/ve.init.mw.MobileArticleTarget.css b/modules/ve-mw/init/styles/ve.init.mw.MobileArticleTarget.css index 3cbb078931..ccf8375773 100644 --- a/modules/ve-mw/init/styles/ve.init.mw.MobileArticleTarget.css +++ b/modules/ve-mw/init/styles/ve.init.mw.MobileArticleTarget.css @@ -82,6 +82,12 @@ text-align: center; } +.ve-init-mw-mobileArticleTarget-editTools .oo-ui-barToolGroup .oo-ui-iconElement-icon { + left: 50%; + margin-left: -0.9375em; +} + +.ve-init-mw-mobileArticleTarget-editTools .oo-ui-tool-with-label .oo-ui-iconElement-icon, .ve-init-mw-mobileArticleTarget-editTools .oo-ui-popupToolGroup-handle .oo-ui-iconElement-icon { left: 50%; margin-left: -1.875em; @@ -116,4 +122,8 @@ .ve-init-mw-mobileArticleTarget-toolbar .oo-ui-barToolGroup > .oo-ui-toolGroup-tools > .oo-ui-tool.oo-ui-iconElement.oo-ui-tool-with-label > .oo-ui-tool-link .oo-ui-tool-title { display: none; } + + .ve-init-mw-mobileArticleTarget-toolbar .oo-ui-barToolGroup > .oo-ui-toolGroup-tools > .oo-ui-tool.oo-ui-iconElement.oo-ui-tool-with-label > .oo-ui-tool-link .oo-ui-iconElement-icon { + margin-left: -0.9375em; + } }