Fix cursor in chromium browsers

This commit is contained in:
yflory 2021-05-03 12:51:20 +02:00
parent 0b90b2d8cf
commit c643c49ba0
1 changed files with 8 additions and 2 deletions

View File

@ -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);