Skip to content

Commit 4739a8c

Browse files
committed
nav.js: remove cm-editor-wrap styling
1 parent e6ef13d commit 4739a8c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

assets/nav.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@
141141
if (!code) return;
142142
const wrap = document.createElement('div');
143143
wrap.className = 'cm-editor-wrap';
144+
wrap.style.cssText = 'margin:0;padding:0;border:none;background:none;';
144145
el.parentNode.insertBefore(wrap, el);
145146
const cm = CodeMirror(wrap, {
146147
value: code,

0 commit comments

Comments
 (0)