Skip to content

Commit bdc5107

Browse files
committed
Add missing styles for other cursors
1 parent 7babc19 commit bdc5107

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

lib/codemirror.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,12 @@
8686
/* Can style cursor different in overwrite (non-insert) mode */
8787
.CodeMirror-overwrite .CodeMirror-cursor {}
8888

89+
.CodeMirror-other-cursor {
90+
width: 0px;
91+
position: absolute;
92+
border-right: none;
93+
}
94+
8995
.cm-tab { display: inline-block; text-decoration: inherit; }
9096

9197
.CodeMirror-rulers {
@@ -313,6 +319,11 @@ div.CodeMirror-dragcursors {
313319
visibility: visible;
314320
}
315321

322+
div.CodeMirror-other-cursors {
323+
position:relative;
324+
z-index:3;
325+
}
326+
316327
.CodeMirror-selected { background: #d9d9d9; }
317328
.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
318329
.CodeMirror-crosshair { cursor: crosshair; }
@@ -332,6 +343,9 @@ div.CodeMirror-dragcursors {
332343
.CodeMirror div.CodeMirror-cursors {
333344
visibility: hidden;
334345
}
346+
.CodeMirror div.CodeMirror-other-cursors {
347+
visibility: hidden;
348+
}
335349
}
336350

337351
/* See issue #2901 */

0 commit comments

Comments
 (0)