fix: user menu position in nav

This commit is contained in:
Nicola Zambello 2023-02-23 12:18:12 +01:00
parent 0f1da47739
commit f5499de9d9
Signed by: nzambello
GPG key ID: 56E4A92C2C1E50BA

View file

@ -291,7 +291,7 @@ function Layout({ children }: React.PropsWithChildren<{}>) {
</Navbar.Section>
</MediaQuery>
{user && (
<Navbar.Section mt="md">
<Navbar.Section mt="md" grow>
<NavLink
component={Link}
to="/"
@ -354,7 +354,7 @@ function Layout({ children }: React.PropsWithChildren<{}>) {
</Navbar.Section>
)}
{user && (
<Navbar.Section>
<Navbar.Section mt="lg">
<Menu shadow="md" width={200}>
<Menu.Target>
<UnstyledButton w="100%" title="Account / Logout" p="xs">