Skip to content

Commit

Permalink
fix: button width when being hovered
Browse files Browse the repository at this point in the history
  • Loading branch information
tmjssz committed Oct 25, 2024
1 parent df105b8 commit 24497b1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/components/dashboard/StakingBanner/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,11 @@ const StakingBanner = ({
</Stack>

<Stack direction={{ xs: 'column', md: 'row' }} spacing={2} alignItems={{ xs: 'center', md: 'flex-end' }}>
<Button variant="text" onClick={onHide} size="small" sx={{ whiteSpace: 'nowrap' }}>
Don&apos;t show again
</Button>
<Box>
<Button variant="text" onClick={onHide} size="small" sx={{ whiteSpace: 'nowrap' }}>
Don&apos;t show again
</Button>
</Box>
<NextLink
href={AppRoutes.stake && { pathname: AppRoutes.stake, query: { safe: router.query.safe } }}
passHref
Expand Down

0 comments on commit 24497b1

Please sign in to comment.