Improved sidebar
This commit is contained in:
+8
-4
@@ -37,10 +37,14 @@ export default function App() {
|
|||||||
<>
|
<>
|
||||||
<ServerList appRef={appRef} />
|
<ServerList appRef={appRef} />
|
||||||
<ResizablePanelGroup orientation="horizontal" className="h-screen">
|
<ResizablePanelGroup orientation="horizontal" className="h-screen">
|
||||||
<ResizablePanel defaultSize="420px">
|
{appRef.current.server?.meta && (
|
||||||
<Sidebar appRef={appRef} />
|
<>
|
||||||
</ResizablePanel>
|
<ResizablePanel defaultSize="500px" maxSize="350px">
|
||||||
<ResizableHandle withHandle />
|
<Sidebar appRef={appRef} />
|
||||||
|
</ResizablePanel>
|
||||||
|
<ResizableHandle withHandle />
|
||||||
|
</>
|
||||||
|
)}
|
||||||
<ResizablePanel defaultSize="100%">
|
<ResizablePanel defaultSize="100%">
|
||||||
<div className="h-screen"></div>
|
<div className="h-screen"></div>
|
||||||
</ResizablePanel>
|
</ResizablePanel>
|
||||||
|
|||||||
Reference in New Issue
Block a user