release: v4.0.4

This commit is contained in:
Amruth Pillai
2024-01-19 10:04:23 +01:00
parent 643348046f
commit 8bca7f5390
6 changed files with 2627 additions and 2897 deletions

View File

@ -37,13 +37,13 @@ export const BuilderLayout = () => {
if (isDesktop) {
return (
<div className="relative h-full w-full overflow-hidden">
<div className="relative size-full overflow-hidden">
<PanelGroup direction="horizontal">
<Panel
minSizePixels={48}
maxSizePercentage={45}
defaultSizePercentage={30}
onResize={({ sizePercentage }) => leftSetSize(sizePercentage)}
minSize={25}
maxSize={45}
defaultSize={30}
onResize={leftSetSize}
className={cn("z-10 bg-background", !leftHandle.isDragging && "transition-[flex]")}
>
<LeftSidebar />
@ -60,10 +60,10 @@ export const BuilderLayout = () => {
onDragging={rightHandle.setDragging}
/>
<Panel
minSizePixels={48}
maxSizePercentage={45}
defaultSizePercentage={30}
onResize={({ sizePercentage }) => rightSetSize(sizePercentage)}
minSize={25}
maxSize={45}
defaultSize={30}
onResize={rightSetSize}
className={cn("z-10 bg-background", !rightHandle.isDragging && "transition-[flex]")}
>
<RightSidebar />