From 79bdc0c5ee1a8af624768ac2acb7b68266fb5770 Mon Sep 17 00:00:00 2001 From: Zach Pomerantz Date: Tue, 15 Feb 2022 19:33:09 -0800 Subject: [PATCH] fix: summary details heights (#3302) --- src/lib/components/Swap/Summary/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/components/Swap/Summary/index.tsx b/src/lib/components/Swap/Summary/index.tsx index 7453e33ce1..8eaa266680 100644 --- a/src/lib/components/Swap/Summary/index.tsx +++ b/src/lib/components/Swap/Summary/index.tsx @@ -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;