Commit 79bdc0c5 authored by Zach Pomerantz's avatar Zach Pomerantz Committed by GitHub

fix: summary details heights (#3302)

parent 82c30681
...@@ -43,13 +43,13 @@ const Body = styled(Column)<{ open: boolean }>` ...@@ -43,13 +43,13 @@ const Body = styled(Column)<{ open: boolean }>`
transition: flex-grow 0.25s; transition: flex-grow 0.25s;
${DetailsColumn} { ${DetailsColumn} {
flex-basis: ${({ open }) => (open ? 7 : 0)}em; flex-basis: ${({ open }) => (open ? 7.5 : 0)}em;
overflow-y: hidden; overflow-y: hidden;
position: relative; position: relative;
transition: flex-basis 0.25s; transition: flex-basis 0.25s;
${Column} { ${Column} {
height: 100%; height: 7.5em;
grid-template-rows: repeat(auto-fill, 1em); grid-template-rows: repeat(auto-fill, 1em);
padding: ${({ open }) => (open ? '0.5em 0' : 0)}; padding: ${({ open }) => (open ? '0.5em 0' : 0)};
transition: padding 0.25s; transition: padding 0.25s;
......
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