mirror of
https://github.com/chartdb/chartdb.git
synced 2026-01-21 11:40:49 -06:00
fix(drawer): set fix min size (#429)
This commit is contained in:
@@ -23,11 +23,11 @@ export const EditorDesktopLayout: React.FC<EditorDesktopLayoutProps> = ({
|
||||
return (
|
||||
<ResizablePanelGroup direction="horizontal">
|
||||
<ResizablePanel
|
||||
defaultSize={isXl ? 25 : isLg ? 35 : 50}
|
||||
minSize={isXl ? 25 : isLg ? 35 : 50}
|
||||
defaultSize={25}
|
||||
minSize={25}
|
||||
maxSize={isSidePanelShowed ? 99 : 0}
|
||||
// eslint-disable-next-line
|
||||
className="transition-[flex-grow] duration-200"
|
||||
className="transition-[flex-grow] duration-200 min-w-[350px]"
|
||||
>
|
||||
<SidePanel />
|
||||
</ResizablePanel>
|
||||
|
||||
Reference in New Issue
Block a user