Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

Commit

Permalink
LIVE-1461 end of coin name hidden if too long so it doesn t overlap o…
Browse files Browse the repository at this point in the history
…n coin price (#4811)

* LIVE-1461 end of coin name hidden if too long so it doesn t overlap on coin price

* LIVE-1461 end of coin name hidden if too long so it doesn t overlap on coin price

* LIVE-1461 coin name cell size modified
  • Loading branch information
cgrellard-ledger authored Mar 4, 2022
1 parent c145cc5 commit d6003e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/renderer/screens/market/MarketList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,11 @@ export const TableRow = styled(Flex).attrs({
padding-left: 5px;
}
${TableCellBase}:nth-child(2) {
flex: 1 0 250px;
flex: 1 0 230px;
justify-content: flex-start;
}
${TableCellBase}:nth-child(3) {
flex: 1 0 150px;
flex: 1 0 80px;
justify-content: flex-end;
}
${TableCellBase}:nth-child(4) {
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/screens/market/MarketRowItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ function MarketRowItem({
) : (
<TableRow onClick={onCurrencyClick}>
<TableCell>{currency?.marketcapRank ?? "-"}</TableCell>
<TableCell>
<TableCell overflow="hidden" mr={3}>
<CryptoCurrencyIconWrapper>
{currency.internalCurrency ? (
<CryptoCurrencyIcon
Expand All @@ -160,7 +160,7 @@ function MarketRowItem({
<img width="32px" height="32px" src={currency.image} alt={"currency logo"} />
)}
</CryptoCurrencyIconWrapper>
<Flex pl={3} flexDirection="row" alignItems="center">
<Flex pl={3} flexDirection="row" alignItems="center" overflow="hidden">
<Flex flexDirection="column" alignItems="left" pr={2}>
<Text variant="body">{currency.name}</Text>
<Text variant="small" color="neutral.c60">
Expand Down

1 comment on commit d6003e9

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lint outputs ✅

Tests outputs ✅

PASS src/generate-cryptoassets-md.test.js

Test Suites: 1 skipped, 1 passed, 1 of 2 total
Tests: 5 skipped, 1 passed, 6 total
Snapshots: 0 total
Time: 3.667 s
Test results written to: report.json

Diff output ❌

windows

Actual Diff Expected

| BTC-complete-actual | BTC-complete-diff | BTC-complete-expected |
| BTC-complete-actual | BTC-complete-diff | BTC-complete-expected |

| LTC-complete-actual | LTC-complete-diff | LTC-complete-expected |
| LTC-complete-actual | LTC-complete-diff | LTC-complete-expected |

Please sign in to comment.