Skip to content

Commit

Permalink
fix sizing
Browse files Browse the repository at this point in the history
  • Loading branch information
JP Angelle committed Oct 25, 2023
1 parent 3e56b6b commit 8dccfd0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions centrifuge-app/src/components/Portfolio/InvestedTokens.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ import { SortButton } from '../SortButton'
import { sortTokens } from './sortTokens'
import { TokenListItem } from './TokenListItem'

export const COLUMN_GAPS = '250px 180px 150px 180px'
export const COLUMN_GAPS = '200px 140px 140px 140px'

export const InvestedTokens = ({ canInvestRedeem = true }) => {
// TODO: change canInvestRedeem to default to true once the drawer is implemented
export const InvestedTokens = ({ canInvestRedeem = false }) => {
const { search } = useLocation()

const address = useAddress()
Expand Down
2 changes: 1 addition & 1 deletion centrifuge-app/src/components/Portfolio/TokenListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function TokenListItem({ balance, currency, poolId, trancheId, canInvestR
const icon = metadata?.pool?.icon?.uri ? cent.metadata.parseMetadataUrl(metadata.pool.icon.uri) : null

return (
<Root as="article" minWidth="1060px">
<Root as="article" minWidth="960px">
<Grid gridTemplateColumns={`${COLUMN_GAPS} 1fr`} gap={3} p={2} alignItems="center">
<Grid as="header" gridTemplateColumns={`${sizes.iconMedium}px 1fr`} alignItems="center" gap={2}>
<Eththumbnail show={isTinlakePool}>
Expand Down

0 comments on commit 8dccfd0

Please sign in to comment.