Skip to content

Commit 7768633

Browse files
committed
nav.js: remove blanket CM height override
1 parent eecd611 commit 7768633

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

assets/nav.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,9 @@
6262
style.textContent = `
6363
html.dark-pre body { background:#1a1a2e !important; }
6464
pre#code-pre { display:none !important; }
65-
.CodeMirror { height: auto !important; }
66-
.CodeMirror-scroll { overflow-y: visible !important; overflow-x: auto !important; min-height: 0 !important; }
67-
.CodeMirror-sizer { margin-bottom: 0 !important; }
65+
6866
pre#code-pre { display:none !important; }
69-
.CodeMirror { height: auto !important; }
70-
.CodeMirror-scroll { overflow-y: visible !important; overflow-x: auto !important; min-height: 0 !important; }
71-
.CodeMirror-sizer { margin-bottom: 0 !important; }
67+
7268
#site-nav {
7369
border-bottom: 1px solid #e0e0e0;
7470
padding: 0 2rem;

0 commit comments

Comments
 (0)