Commit ea73260e authored by Zach Pomerantz's avatar Zach Pomerantz Committed by GitHub

fix: accomodate longer locales (#3468)

parent b4bd2973
......@@ -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;
`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment