From 76ce8ef601c2417d16899fd2d3b3c4dc66b1a23c Mon Sep 17 00:00:00 2001 From: lakejason0 Date: Fri, 29 Dec 2023 01:11:43 +0800 Subject: [PATCH] Fix CodeMirror glitch --- .../ext.visualEditor.desktopArticleTarget.init.less | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/skinStyles/extensions/VisualEditor/ext.visualEditor.desktopArticleTarget.init.less b/skinStyles/extensions/VisualEditor/ext.visualEditor.desktopArticleTarget.init.less index 7eed459..8102aa8 100644 --- a/skinStyles/extensions/VisualEditor/ext.visualEditor.desktopArticleTarget.init.less +++ b/skinStyles/extensions/VisualEditor/ext.visualEditor.desktopArticleTarget.init.less @@ -11,4 +11,9 @@ z-index: 1; } +} + +/* Codemirror for visual editor doesn't need padding */ +.ve-init-mw-desktopArticleTarget .CodeMirror { + padding: 0 !important; } \ No newline at end of file