commit 5ec1ab604f18fb1047164f3ed57b9b22eb8c18cb
parent 570fd016c69bb4e4e55ad1f99c057ba732c6c581
Author: Hunter
Date: Wed, 24 Dec 2025 22:49:10 -0500
cleanup
Diffstat:
2 files changed, 2 insertions(+), 9 deletions(-)
diff --git a/main.js b/main.js
@@ -60,7 +60,6 @@ let lineNumbersCompartment;
let lineWrappingCompartment;
function toggleFullscreen() {
-
isFullscreen = !isFullscreen;
if (isFullscreen) {
@@ -358,7 +357,7 @@ function initializeCodeMirror() {
return;
}
- 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;
+ const {EditorView, EditorState, Compartment, keymap, defaultKeymap, indentWithTab, html, githubDark, indentUnit, placeholder, undo, redo, history, closeBrackets, search, searchKeymap, closeSearchPanel, openSearchPanel, lineNumbers} = window.CodeMirror;
// Load saved content and editor settings
const savedContent = loadFromStorage();
diff --git a/styles.css b/styles.css
@@ -21,7 +21,7 @@ html {
body {
font-family: monospace;
- background: var(--bg-color);
+ background: var(--editor-bg);
color: var(--text-color);
height: 100%;
display: flex;
@@ -46,9 +46,7 @@ body {
top: 0;
left: 0;
width: 100vw;
- width: 100dvw;
height: 100vh;
- height: 100dvh;
z-index: 9999;
background: white;
}
@@ -146,11 +144,7 @@ body {
.cm-panels-bottom {
border-radius: 0px !important;
-}
-
-.cm-panels-bottom {
border-top: none !important;
-
}
#preview {