Skip to content

Commit

Permalink
fix silo whitelist table
Browse files Browse the repository at this point in the history
  • Loading branch information
uncoolzero committed Apr 11, 2024
1 parent 6358684 commit 81a21a3
Showing 1 changed file with 32 additions and 8 deletions.
40 changes: 32 additions & 8 deletions projects/ui/src/components/Silo/Whitelist.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@ const Whitelist: FC<{
}}
>
<Grid container alignItems="center">
<Grid item md={2.5} xs={4}>
<Grid item md={2.25} xs={4}>
<Typography color="text.secondary">Token</Typography>
</Grid>
<Grid item md={1} xs={0} display={{ xs: 'none', md: 'block' }}>
<Grid item md={1.25} xs={0} display={{ xs: 'none', md: 'block' }}>
<Tooltip title="The amount of Stalk and Seeds earned for each 1 Bean Denominated Value (BDV) Deposited in the Silo.">
<Typography color="text.secondary">Rewards</Typography>
</Tooltip>
Expand Down Expand Up @@ -262,7 +262,7 @@ const Whitelist: FC<{
*/}
<Grid
item
md={isDeprecated ? 5.5 : 2.5}
md={isDeprecated ? 6.75 : 2.25}
xs={isDeprecated ? 7 : 7}
>
<Row gap={1}>
Expand Down Expand Up @@ -305,7 +305,7 @@ const Whitelist: FC<{
*/
<Grid
item
md={3}
md={1.25}
xs={0}
display={{ xs: 'none', md: 'block' }}
>
Expand Down Expand Up @@ -338,13 +338,37 @@ const Whitelist: FC<{
</Row>
</Box>
</Tooltip>
<Row gap={0.25}>
<SiloAssetApyChip token={token} metric="bean" />
<SiloAssetApyChip token={token} metric="stalk" />
</Row>
</Row>
</Grid>
)}
{/**
* Cell: Bean APY
*/}
{!isDeprecated && (
<Grid
item
md={2}
xs={0}
display={{ xs: 'none', md: 'flex' }}
justifyContent='center'
>
<SiloAssetApyChip token={token} metric="bean" />
</Grid>
)}
{/**
* Cell: Stalk APY
*/}
{!isDeprecated && (
<Grid
item
md={1.25}
xs={0}
display={{ xs: 'none', md: 'flex' }}
justifyContent='center'
>
<SiloAssetApyChip token={token} metric="stalk" />
</Grid>
)}
{/**
* Cell: TVD
*/}
Expand Down

0 comments on commit 81a21a3

Please sign in to comment.