fix: accomodate longer locales (#3468)
This commit is contained in:
parent
b4bd2973a9
commit
ea73260e56
@ -22,7 +22,8 @@ const StyledTokenButton = styled(Button)<{ empty?: boolean }>`
|
||||
|
||||
const TokenButtonRow = styled(Row)<{ collapsed: boolean }>`
|
||||
height: 1.2em;
|
||||
max-width: ${({ collapsed }) => (collapsed ? '1.2' : '8.2')}em;
|
||||
// max-width must have an absolute value in order to transition.
|
||||
max-width: ${({ collapsed }) => (collapsed ? '1.2em' : '12em')};
|
||||
overflow-x: hidden;
|
||||
transition: max-width 0.25s linear;
|
||||
`
|
||||
|
Loading…
Reference in New Issue
Block a user