fix: change app shell layout to non fixed

This commit is contained in:
Nicola Zambello 2024-04-09 18:29:26 +03:00
parent 64d3e0160d
commit 9630e079e8
Signed by: nzambello
GPG key ID: 56E4A92C2C1E50BA

View file

@ -254,8 +254,9 @@ function Layout({ children }: React.PropsWithChildren<{}>) {
padding="md" padding="md"
navbarOffsetBreakpoint="sm" navbarOffsetBreakpoint="sm"
asideOffsetBreakpoint="sm" asideOffsetBreakpoint="sm"
fixed={false}
navbar={ navbar={
user && ( user ? (
<Navbar <Navbar
p="xs" p="xs"
hiddenBreakpoint="sm" hiddenBreakpoint="sm"
@ -446,7 +447,7 @@ function Layout({ children }: React.PropsWithChildren<{}>) {
</Navbar.Section> </Navbar.Section>
)} )}
</Navbar> </Navbar>
) ) : undefined
} }
header={ header={
<Header height={{ base: 50, md: 70 }} p="md"> <Header height={{ base: 50, md: 70 }} p="md">