fix bottom panel

This commit is contained in:
Felix Roos
2026-01-21 23:07:49 +01:00
parent cf999462b7
commit 9a10cac8e9
+3 -3
View File
@@ -33,16 +33,16 @@ export function HorizontalPanel({ context }) {
return (
<PanelNav
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',
)}
>
<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} />
<PanelCloseButton />
</div>
{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} />
</div>
)}