fix: make panels resizable
This commit is contained in:
@ -58,7 +58,7 @@ export default function Editor() {
|
||||
<div className="h-screen w-screen flex flex-col bg-background overflow-hidden">
|
||||
<EditorHeader />
|
||||
<div className="flex-1 min-h-0 min-w-0">
|
||||
<ResizablePanelGroup direction="vertical" className="h-full w-full gap-2">
|
||||
<ResizablePanelGroup direction="vertical" className="h-full w-full gap-1">
|
||||
<ResizablePanel
|
||||
defaultSize={mainContent}
|
||||
minSize={30}
|
||||
@ -69,7 +69,7 @@ export default function Editor() {
|
||||
{/* Main content area */}
|
||||
<ResizablePanelGroup
|
||||
direction="horizontal"
|
||||
className="h-full w-full gap-2 px-2"
|
||||
className="h-full w-full gap-1 px-2"
|
||||
>
|
||||
{/* Tools Panel */}
|
||||
<ResizablePanel
|
||||
|
Reference in New Issue
Block a user