Skip to content

Commit

Permalink
fix: show truncated token amount when fiat is primary
Browse files Browse the repository at this point in the history
  • Loading branch information
micaelae committed Jun 12, 2024
1 parent 98842fe commit 9953389
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions ui/components/multichain/asset-picker-amount/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
.unit-input__inputs {
// primary (i.e., input) and secondary (i.e., subtext) input sections
& > div {
max-width: 125px;
max-width: 138px;
white-space: nowrap;
text-overflow: ellipsis;
}
Expand All @@ -51,7 +51,14 @@

text-overflow: ellipsis;
overflow: hidden;
display: inline;
flex-wrap: nowrap;

& > span.currency-display-component__text {
width: max-content;
}
& > span.currency-display-component__suffix {
width: max-content;
}
}

// secondary field elements (e.g., value, symbols)
Expand Down

0 comments on commit 9953389

Please sign in to comment.