Skip to content

Commit

Permalink
Fix pool cards width (#262)
Browse files Browse the repository at this point in the history
* update pool cards grid to 3 columns maximum

* fix rewards spacing
  • Loading branch information
rawasabi authored Sep 17, 2022
1 parent 5c667cd commit bfe3449
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion features/liquidity/components/PoolCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export const PoolCard = ({
<Text variant="legend" color="secondary" align="center">
Rewards
</Text>
<StyledDivForTokenLogos css={{ paddingTop: '0' }}>
<StyledDivForTokenLogos css={{ padding: '$1' }}>
{rewardsTokens.map((token) => (
<ImageForTokenLogo
key={token.symbol}
Expand Down
6 changes: 1 addition & 5 deletions pages/pools/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -197,14 +197,10 @@ const useSortControllers = () => {

const StyledDivForPoolsGrid = styled('div', {
display: 'grid',
gridTemplateColumns: '1fr 1fr 1fr 1fr',
gridTemplateColumns: '1fr 1fr 1fr',
columnGap: '$8',
rowGap: '$8',

'@media (max-width: 1550px)': {
gridTemplateColumns: '1fr 1fr 1fr',
},

'@media (max-width: 1360px)': {
gridTemplateColumns: '1fr 1fr',
columnGap: '$10',
Expand Down

0 comments on commit bfe3449

Please sign in to comment.