mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-09-19 12:00:32 +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 />
|
||||
<Box h="4" />
|
||||
{!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
|
||||
</Button>
|
||||
)}
|
||||
|
@@ -45,7 +45,7 @@ export default function MobileSideDrawer({ ...props }: Omit<DrawerProps, "childr
|
||||
<NavItems />
|
||||
<Box h="2" />
|
||||
{!account && (
|
||||
<Button as={RouterLink} to="/signin" colorScheme="primary">
|
||||
<Button as={RouterLink} to="/signin" colorScheme="primary" flexShrink={0}>
|
||||
Sign in
|
||||
</Button>
|
||||
)}
|
||||
|
Reference in New Issue
Block a user