Skip to content

Commit

Permalink
Hide the cursor when printing
Browse files Browse the repository at this point in the history
  • Loading branch information
0b10011 authored and marijnh committed Aug 1, 2012
1 parent d404873 commit 946cd65
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/codemirror.css
Original file line number Diff line number Diff line change
Expand Up @@ -165,3 +165,12 @@ span.cm-invalidchar {color: #f00;}

div.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;}
div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}

@media print {

/* Hide the cursor when printing */
.CodeMirror pre.CodeMirror-cursor {
visibility: hidden;
}

}

0 comments on commit 946cd65

Please sign in to comment.