Skip to content

Commit

Permalink
update loading of codemirror
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk committed Aug 6, 2019
1 parent c01d6da commit 9d3aaa9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,15 @@
border-color: green;
}


.jp-OutputArea > :first-child {
padding-top: 0.5em;
border-top: 1px solid #aaa;
}

.CodeMirror {
height: auto;
}

.CodeMirror-scroll {
height: auto;
}
Expand Down
3 changes: 2 additions & 1 deletion src/thebelab.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import $ from "jquery";
import CodeMirror from "codemirror";
import CodeMirror from "codemirror/lib/codemirror";
import "codemirror/lib/codemirror.css";

// make CodeMirror public for loading additional themes
if (typeof window !== "undefined") {
Expand Down

0 comments on commit 9d3aaa9

Please sign in to comment.