Skip to content

Commit

Permalink
fix: incorrectly hidden items
Browse files Browse the repository at this point in the history
  • Loading branch information
tien committed Jul 24, 2023
1 parent 13ca203 commit 9c2203e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions apps/web/src/components/recipes/StakeBanner/StakeBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const StakeBanner = (props: StakeBannerProps) => (
>
<header>
<Text.H2 css={{ gridArea: 'header', marginBottom: 0 }}>Staking</Text.H2>
<Text.Body css={{ 'display': 'none', '@container(min-width: 60rem)': { visibility: 'revert' } }}>
<Text.Body css={{ 'display': 'none', '@container(min-width: 60rem)': { display: 'revert' } }}>
Stake your favorite assets in one click and start earning rewards
</Text.Body>
</header>
Expand Down Expand Up @@ -67,10 +67,7 @@ const StakeBanner = (props: StakeBannerProps) => (
<ListItem
css={{ gridArea: 'stake-balance', padding: 0, visibility: props.balance ? 'visible' : 'hidden' }}
leadingContent={
<TonalIcon
size="5.6rem"
css={{ 'display': 'none', '@container(min-width: 60rem)': { visibility: 'revert' } }}
>
<TonalIcon size="5.6rem" css={{ 'display': 'none', '@container(min-width: 60rem)': { display: 'flex' } }}>
<Zap />
</TonalIcon>
}
Expand Down

0 comments on commit 9c2203e

Please sign in to comment.