From 7568673bf1785db1903fb554f094e2c27ec9ed0b Mon Sep 17 00:00:00 2001 From: WaitSpring Date: Fri, 20 Oct 2023 17:02:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20toolbar=20display=20in=20?= =?UTF-8?q?VE=20on=20small=20screens?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit add white-space: normal; Signed-off-by: WaitSpring --- .../VisualEditor/ext.visualEditor.less | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/skinStyles/extensions/VisualEditor/ext.visualEditor.less b/skinStyles/extensions/VisualEditor/ext.visualEditor.less index 0ccb8934..3e8a204e 100644 --- a/skinStyles/extensions/VisualEditor/ext.visualEditor.less +++ b/skinStyles/extensions/VisualEditor/ext.visualEditor.less @@ -286,12 +286,6 @@ } } -// .citizen-scroll--down .ve-init-mw-desktopArticleTarget-toolbar { -// &.ve-ui-toolbar-floating > .oo-ui-toolbar-bar { -// top: 0; // stick to top -// } -// } - // Make toolbar more smaller screen friendly // Well at least I did by best @media ( max-width: 800px ) { @@ -300,14 +294,11 @@ } .skin-citizen { - .ve { - &-ui { - &-toolbar { - > .oo-ui-toolbar-bar { - .oo-ui-toolbar-tools { - display: inline; - } - } + .ve-ui-toolbar { + > .oo-ui-toolbar-bar { + .oo-ui-toolbar-tools { + display: inline; + white-space: normal; } } }