small fix for sign in buttons on mobile

This commit is contained in:
hzrd149
2023-10-16 11:24:30 -05:00
parent cb7b0ff726
commit e02e63746d
2 changed files with 9 additions and 2 deletions

View File

@@ -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>
)}

View File

@@ -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>
)}