diff --git a/components/editor/editor-layout.tsx b/components/editor/editor-layout.tsx index 87e00a8..76fd5d4 100644 --- a/components/editor/editor-layout.tsx +++ b/components/editor/editor-layout.tsx @@ -55,7 +55,7 @@ export function EditorLayout() { const handleZoomToFit = () => { // Approximate viewport size (accounting for panels) const viewportWidth = window.innerWidth - 344; // Subtract sidebar width (64px tools + 280px panels) - const viewportHeight = window.innerHeight - 48; // Subtract toolbar height + const viewportHeight = window.innerHeight - 88; // Subtract toolbar height (48px header + 40px tool adjustments) zoomToFit(viewportWidth, viewportHeight); }; @@ -81,23 +81,18 @@ export function EditorLayout() { )} - {/* Top Bar */} -