Skip to content

Commit f755c96

Browse files
meeseeksdev[bot]gnestor
meeseeksdev[bot]
authored andcommitted
Backport PR jupyter#2983: Add more border width to CodeMirror cursor (jupyter#2994)
1 parent 21ece3e commit f755c96

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)