forked from Archives/Athou_commafeed
only show sidebar resizer when sidebar is actually shown
This commit is contained in:
@@ -157,6 +157,7 @@ export default function Layout(props: LayoutProps) {
|
||||
<Box className={classes.sidebarContent}>{props.sidebar}</Box>
|
||||
</AppShell.Section>
|
||||
</AppShell.Navbar>
|
||||
<OnDesktop>
|
||||
<Draggable
|
||||
axis="x"
|
||||
defaultPosition={{
|
||||
@@ -179,6 +180,7 @@ export default function Layout(props: LayoutProps) {
|
||||
}}
|
||||
></Box>
|
||||
</Draggable>
|
||||
</OnDesktop>
|
||||
|
||||
<AppShell.Main id="content">
|
||||
<Suspense fallback={<Loader />}>
|
||||
|
||||
Reference in New Issue
Block a user