Fix cursor in chromium browsers

pull/1/head
yflory 4 years ago
parent 0b90b2d8cf
commit c643c49ba0

@ -1,6 +1,12 @@
.cursor_main() { .cursor_main() {
// CodeMirror // CodeMirror
.cp-codemirror-cursor { .cp-codemirror-cursor {
&:before {
content: "";
display: inline-block;
}
cursor: default; cursor: default;
background-color: red; background-color: red;
background-clip: padding-box; background-clip: padding-box;
@ -8,8 +14,8 @@
border: 2px solid red; border: 2px solid red;
border-right-color: transparent !important; border-right-color: transparent !important;
border-left-color: transparent !important; border-left-color: transparent !important;
margin-left: -3px; display: inline-block;
margin-right: -3px; margin: -2px -3px;
} }
.cp-codemirror-selection { .cp-codemirror-selection {
background-color: rgba(255,0,0,0.3); background-color: rgba(255,0,0,0.3);

Loading…
Cancel
Save