style: adjust default sizes for resizable panels

This commit is contained in:
codytseng
2024-11-12 14:44:38 +08:00
parent dcd94fdce3
commit 9dd648ffa5

View File

@@ -105,13 +105,13 @@ export function PageManager({
<PrimaryPageContext.Provider value={{ refresh: refreshPrimary }}> <PrimaryPageContext.Provider value={{ refresh: refreshPrimary }}>
<SecondaryPageContext.Provider value={{ push: pushSecondary, pop: popSecondary }}> <SecondaryPageContext.Provider value={{ push: pushSecondary, pop: popSecondary }}>
<ResizablePanelGroup direction="horizontal"> <ResizablePanelGroup direction="horizontal">
<ResizablePanel defaultSize={60} minSize={30}> <ResizablePanel defaultSize={55} minSize={30}>
<div key={primaryPageKey} className="h-full"> <div key={primaryPageKey} className="h-full">
{children} {children}
</div> </div>
</ResizablePanel> </ResizablePanel>
<ResizableHandle /> <ResizableHandle />
<ResizablePanel defaultSize={40} minSize={30} className="relative"> <ResizablePanel defaultSize={45} minSize={30} className="relative">
{secondaryStack.length ? ( {secondaryStack.length ? (
secondaryStack.map((item, index) => ( secondaryStack.map((item, index) => (
<div <div