From 94bdb5e757b20276837d2406777fa7ca6437545e Mon Sep 17 00:00:00 2001 From: ernstmul Date: Fri, 16 May 2025 17:06:55 +0200 Subject: [PATCH] Allow bigger code editor / smaller vertical terminal --- .../studio/artifact-[artifact]/+layout.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/(console)/project-[project]/studio/artifact-[artifact]/+layout.svelte b/src/routes/(console)/project-[project]/studio/artifact-[artifact]/+layout.svelte index 59fbb264b..82f27912e 100644 --- a/src/routes/(console)/project-[project]/studio/artifact-[artifact]/+layout.svelte +++ b/src/routes/(console)/project-[project]/studio/artifact-[artifact]/+layout.svelte @@ -88,8 +88,7 @@ if (!isResizing) return; const clientY = 'touches' in event ? event.touches[0].clientY : event.clientY; const relativeY = clientY - 50; - - const maxHeight = window.innerHeight - 400; + const maxHeight = window.innerHeight - 200; if (relativeY < minHeight) { resizerTopPosition = minHeight; } else if (relativeY > maxHeight) { @@ -97,6 +96,7 @@ } else { resizerTopPosition = relativeY; } + console.log({ resizerTopPosition }); } function stopResize() {