Skip to content

Commit

Permalink
fix: summary details heights (#3302)
Browse files Browse the repository at this point in the history
  • Loading branch information
zzmp authored Feb 16, 2022
1 parent 82c3068 commit 79bdc0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/components/Swap/Summary/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ const Body = styled(Column)<{ open: boolean }>`
transition: flex-grow 0.25s;
${DetailsColumn} {
flex-basis: ${({ open }) => (open ? 7 : 0)}em;
flex-basis: ${({ open }) => (open ? 7.5 : 0)}em;
overflow-y: hidden;
position: relative;
transition: flex-basis 0.25s;
${Column} {
height: 100%;
height: 7.5em;
grid-template-rows: repeat(auto-fill, 1em);
padding: ${({ open }) => (open ? '0.5em 0' : 0)};
transition: padding 0.25s;
Expand Down

0 comments on commit 79bdc0c

Please sign in to comment.