fix: user menu position in nav
This commit is contained in:
parent
0f1da47739
commit
f5499de9d9
|
|
@ -291,7 +291,7 @@ function Layout({ children }: React.PropsWithChildren<{}>) {
|
||||||
</Navbar.Section>
|
</Navbar.Section>
|
||||||
</MediaQuery>
|
</MediaQuery>
|
||||||
{user && (
|
{user && (
|
||||||
<Navbar.Section mt="md">
|
<Navbar.Section mt="md" grow>
|
||||||
<NavLink
|
<NavLink
|
||||||
component={Link}
|
component={Link}
|
||||||
to="/"
|
to="/"
|
||||||
|
|
@ -354,7 +354,7 @@ function Layout({ children }: React.PropsWithChildren<{}>) {
|
||||||
</Navbar.Section>
|
</Navbar.Section>
|
||||||
)}
|
)}
|
||||||
{user && (
|
{user && (
|
||||||
<Navbar.Section>
|
<Navbar.Section mt="lg">
|
||||||
<Menu shadow="md" width={200}>
|
<Menu shadow="md" width={200}>
|
||||||
<Menu.Target>
|
<Menu.Target>
|
||||||
<UnstyledButton w="100%" title="Account / Logout" p="xs">
|
<UnstyledButton w="100%" title="Account / Logout" p="xs">
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue