Skip to content

Commit

Permalink
Prevent the text viewer and CodeMirror from locking up when we move i…
Browse files Browse the repository at this point in the history
…t to its own tab.
  • Loading branch information
sedwards2009 committed Feb 7, 2017
1 parent 0e208ce commit 979c5aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/themes/default-syntax/text-viewer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
font-family: var(--terminal-font);
font-size: var(--terminal-font-size);
line-height: normal;
min-height: 1em; /* Prevent CodeMirror from freaking out and hanging the CPU if the height becomes 0. */
}

#ID_CONTAINER:focus {
Expand Down

0 comments on commit 979c5aa

Please sign in to comment.