fix: summary expando height (#3484)
This commit is contained in:
parent
32f955693f
commit
63bad8f890
@ -41,13 +41,13 @@ const Body = styled(Column)<{ open: boolean }>`
|
|||||||
transition: flex-grow 0.25s;
|
transition: flex-grow 0.25s;
|
||||||
|
|
||||||
${DetailsColumn} {
|
${DetailsColumn} {
|
||||||
flex-basis: ${({ open }) => (open ? 7.5 : 0)}em;
|
flex-basis: ${({ open }) => (open ? 6.75 : 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: 7.5em;
|
height: 6.75em;
|
||||||
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user