Skip to content

Commit

Permalink
[UI] fix Accordion max-height
Browse files Browse the repository at this point in the history
  • Loading branch information
claire2212 committed Dec 9, 2024
1 parent f9114b0 commit 1947d5c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const AccordionContent = styled.div<{ $isExpanded: boolean }>`
display: flex;
flex-direction: column;
font-size: 13px;
max-height: ${({ $isExpanded }) => ($isExpanded ? '100vh' : '0px')};
max-height: ${({ $isExpanded }) => ($isExpanded ? '100%' : '0px')};
overflow: hidden;
transition: ${({ $isExpanded }) => ($isExpanded ? '0.5s max-height ease-in' : '0.3s max-height ease-out')};
`

0 comments on commit 1947d5c

Please sign in to comment.