Skip to content

Commit cd2ac44

Browse files
authored
Merge pull request #2983 from gnestor/fix-codemirror-cursor
Add more border width to CodeMirror cursor
2 parents 600d57f + 817f541 commit cd2ac44

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

notebook/static/notebook/less/codemirror.less

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,20 @@
5252
.border-radius(0)
5353
}
5454

55+
.CodeMirror-cursor {
56+
border-left: 1.4px solid black;
57+
}
58+
59+
// When zoomed out 67% and 33% on a screen of 1440 width x 900 height
60+
@media screen and (min-width: 2138px) and (max-width: 4319px) {
61+
.CodeMirror-cursor {
62+
border-left: 2px solid black;
63+
}
64+
}
65+
66+
// When zoomed out less than 33%
67+
@media screen and (min-width: 4320px) {
68+
.CodeMirror-cursor {
69+
border-left: 4px solid black;
70+
}
71+
}

0 commit comments

Comments
 (0)