Skip to content

Commit

Permalink
Merge pull request #2983 from gnestor/fix-codemirror-cursor
Browse files Browse the repository at this point in the history
Add more border width to CodeMirror cursor
  • Loading branch information
Carreau authored Oct 27, 2017
2 parents 600d57f + 817f541 commit cd2ac44
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions notebook/static/notebook/less/codemirror.less
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,20 @@
.border-radius(0)
}

.CodeMirror-cursor {
border-left: 1.4px solid black;
}

// When zoomed out 67% and 33% on a screen of 1440 width x 900 height
@media screen and (min-width: 2138px) and (max-width: 4319px) {
.CodeMirror-cursor {
border-left: 2px solid black;
}
}

// When zoomed out less than 33%
@media screen and (min-width: 4320px) {
.CodeMirror-cursor {
border-left: 4px solid black;
}
}

0 comments on commit cd2ac44

Please sign in to comment.