From c643c49ba04735522f675ab6beda271103fccffc Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 3 May 2021 12:51:20 +0200 Subject: [PATCH] Fix cursor in chromium browsers --- customize.dist/src/less2/include/cursor.less | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/customize.dist/src/less2/include/cursor.less b/customize.dist/src/less2/include/cursor.less index 355cf4076..132922c21 100644 --- a/customize.dist/src/less2/include/cursor.less +++ b/customize.dist/src/less2/include/cursor.less @@ -1,6 +1,12 @@ .cursor_main() { // CodeMirror .cp-codemirror-cursor { + &:before { + content: ""; + display: inline-block; + } + + cursor: default; background-color: red; background-clip: padding-box; @@ -8,8 +14,8 @@ border: 2px solid red; border-right-color: transparent !important; border-left-color: transparent !important; - margin-left: -3px; - margin-right: -3px; + display: inline-block; + margin: -2px -3px; } .cp-codemirror-selection { background-color: rgba(255,0,0,0.3);