fix: summary details heights (#3302)

This commit is contained in:
Zach Pomerantz 2022-02-15 19:33:09 -08:00 committed by GitHub
parent 82c30681ea
commit 79bdc0c5ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;