Skip to content

Commit 76809a6

Browse files
authored
Merge pull request #3166 from jupyterlab/auto-backport-of-pr-3164
Backport PR #3164 on branch 0.28.x
2 parents 146783b + 6ff954d commit 76809a6

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

packages/codemirror/style/index.css

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,23 @@
6565

6666

6767
.CodeMirror-cursor {
68-
border-left: 1px solid var(--jp-editor-cursor-color);
68+
border-left: 1.4px solid var(--jp-editor-cursor-color);
69+
}
70+
71+
72+
// When zoomed out 67% and 33% on a screen of 1440 width x 900 height
73+
@media screen and (min-width: 2138px) and (max-width: 4319px) {
74+
.CodeMirror-cursor {
75+
border-left: 2px solid var(--jp-editor-cursor-color);
76+
}
77+
}
78+
79+
80+
// When zoomed out less than 33%
81+
@media screen and (min-width: 4320px) {
82+
.CodeMirror-cursor {
83+
border-left: 4px solid var(--jp-editor-cursor-color);
84+
}
6985
}
7086

7187

0 commit comments

Comments
 (0)