Skip to content

Commit

Permalink
fix: layout without added Safes
Browse files Browse the repository at this point in the history
  • Loading branch information
schmanu committed Oct 9, 2023
1 parent 1a161da commit e682af6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/components/welcome/NewSafe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ const NewSafe = () => {
</Grid>
<Grid item xs={12} lg={6} flex={1}>
<div className={css.content}>
{addedSafes > 0 && (
<Box minWidth={{ md: 480 }} className={css.sidebar}>
<Box minWidth={{ md: 480 }} className={css.sidebar}>
{addedSafes > 0 && (
<Box display="flex" flexDirection="column">
<Box flex={1}>
<Accordion className={css.accordion} onClick={() => setShowSidebar(true)} expanded={false}>
Expand All @@ -63,8 +63,9 @@ const NewSafe = () => {
</Accordion>
</Box>
</Box>
</Box>
)}
)}
</Box>

<Typography variant="h1" fontSize={[44, null, 52]} lineHeight={1} letterSpacing={-1.5} color="static.main">
Unlock a new way of ownership
</Typography>
Expand Down

0 comments on commit e682af6

Please sign in to comment.