cleanup

Hunter
Wednesday, December 24th, 2025 at 10:49 PM

main.js+1-2
styles.css+1-7

main.js
 60  let lineWrappingCompartment;
 61  
 62  function toggleFullscreen() {
    -
 63  	isFullscreen = !isFullscreen;
 64  
 65  	if (isFullscreen) {

357  		return;
358  	}
359  
    -	const {EditorView, EditorState, Compartment, keymap, defaultKeymap, indentWithTab, html, githubDark, indentUnit, placeholder, undo, redo, undoDepth, redoDepth, history, historyKeymap, closeBrackets, closeBracketsKeymap, search, searchKeymap, closeSearchPanel, openSearchPanel, lineNumbers, Decoration, DecorationSet} = window.CodeMirror;
360 +	const {EditorView, EditorState, Compartment, keymap, defaultKeymap, indentWithTab, html, githubDark, indentUnit, placeholder, undo, redo, history, closeBrackets, search, searchKeymap, closeSearchPanel, openSearchPanel, lineNumbers} = window.CodeMirror;
361  
362  	// Load saved content and editor settings
363  	const savedContent = loadFromStorage();
styles.css
 21  
 22  body {
 23  	font-family: monospace;
    -	background: var(--bg-color);
 24 +	background: var(--editor-bg);
 25  	color: var(--text-color);
 26  	height: 100%;
 27  	display: flex;

 46  	top: 0;
 47  	left: 0;
 48  	width: 100vw;
    -	width: 100dvw;
 49  	height: 100vh;
    -	height: 100dvh;
 50  	z-index: 9999;
 51  	background: white;
 52  }

144  
145  .cm-panels-bottom {
146  	border-radius: 0px !important;
    -}
    -
    -.cm-panels-bottom {
147  	border-top: none !important;
    -
148  }
149  
150  #preview {