From 5051d04451b1597aa7f1fc171419b8fdc81719ee Mon Sep 17 00:00:00 2001 From: SethBurkart123 Date: Mon, 24 Feb 2025 16:11:34 +1100 Subject: [PATCH] feat: remove maximum width from theme creator --- src/seqta/ui/ThemeCreator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/seqta/ui/ThemeCreator.ts b/src/seqta/ui/ThemeCreator.ts index 8cfde301..963d008d 100644 --- a/src/seqta/ui/ThemeCreator.ts +++ b/src/seqta/ui/ThemeCreator.ts @@ -55,7 +55,7 @@ export function OpenThemeCreator(themeID: string = "") { const mouseMoveHandler = (e: MouseEvent) => { if (!isDragging) return const windowWidth = window.innerWidth - const newWidth = Math.min(Math.max(310, windowWidth - e.clientX), 600) + const newWidth = Math.max(310, windowWidth - e.clientX) themeCreatorDiv.style.width = `${newWidth}px` mainContent.style.width = `calc(100% - ${newWidth}px)` resizeBar.style.right = `${newWidth - 2.5}px`