fix bottom panel

This commit is contained in:
Felix Roos 2026-01-21 23:07:49 +01:00
parent cf999462b7
commit 9a10cac8e9
No known key found for this signature in database

View file

@ -33,16 +33,16 @@ export function HorizontalPanel({ context }) {
return ( return (
<PanelNav <PanelNav
className={cx( className={cx(
isPanelOpen ? `min-h-[360px] max-h-[360px]` : 'min-h-10 max-h-10', isPanelOpen ? `min-h-[360px] max-h-[360px]` : 'min-h-8 max-h-8',
'overflow-hidden flex flex-col relative', 'overflow-hidden flex flex-col relative',
)} )}
> >
<div className="flex justify-between min-h-10 max-h-10 grid-cols-2 items-center border-b border-muted"> <div className="flex justify-between min-h-8 max-h-8 grid-cols-2 items-center border-t border-muted">
<Tabs setTab={setTab} tab={tab} /> <Tabs setTab={setTab} tab={tab} />
<PanelCloseButton /> <PanelCloseButton />
</div> </div>
{isPanelOpen && ( {isPanelOpen && (
<div className="w-full h-full overflow-hidden"> <div className="w-full h-full overflow-auto border-t border-muted">
<PanelContent context={context} tab={tab} /> <PanelContent context={context} tab={tab} />
</div> </div>
)} )}