mirror of
https://github.com/RuoJi6/ARTEX.git
synced 2026-11-03 03:03:50 +08:00
fix: preserve chat height when side panel is closed
This commit is contained in:
1 parent
a908eb28e4
commit
e33eedeb17
1 file changed
+1
-1
@@ -288,7 +288,7 @@ export function SideQuestionWorkspace({
|
||||
</ResizablePanel>
|
||||
</ResizablePanelGroup>
|
||||
) : (
|
||||
<div className={cn("w-full min-w-0", className, mainClassName)}>{children}</div>
|
||||
<div className={cn("flex min-h-0 w-full min-w-0 flex-1 flex-col", className, mainClassName)}>{children}</div>
|
||||
)}
|
||||
<Drawer open={mobile && side.open && side.enabled} onOpenChange={side.setOpen}>
|
||||
<DrawerContent className="h-[85svh]">
|
||||
|
||||
Reference in new issue
Block a user