mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-09-20 13:01:07 +02:00
small fix for sign in buttons on mobile
This commit is contained in:
@@ -64,7 +64,14 @@ export default function DesktopSideNav(props: Omit<FlexProps, "children">) {
|
|||||||
<NavItems />
|
<NavItems />
|
||||||
<Box h="4" />
|
<Box h="4" />
|
||||||
{!account && (
|
{!account && (
|
||||||
<Button as={RouterLink} to="/signin" state={{ from: location.pathname }} colorScheme="primary" w="full">
|
<Button
|
||||||
|
as={RouterLink}
|
||||||
|
to="/signin"
|
||||||
|
state={{ from: location.pathname }}
|
||||||
|
colorScheme="primary"
|
||||||
|
w="full"
|
||||||
|
flexShrink={0}
|
||||||
|
>
|
||||||
Sign in
|
Sign in
|
||||||
</Button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
|
@@ -45,7 +45,7 @@ export default function MobileSideDrawer({ ...props }: Omit<DrawerProps, "childr
|
|||||||
<NavItems />
|
<NavItems />
|
||||||
<Box h="2" />
|
<Box h="2" />
|
||||||
{!account && (
|
{!account && (
|
||||||
<Button as={RouterLink} to="/signin" colorScheme="primary">
|
<Button as={RouterLink} to="/signin" colorScheme="primary" flexShrink={0}>
|
||||||
Sign in
|
Sign in
|
||||||
</Button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
|
Reference in New Issue
Block a user