Skip to content

Commit

Permalink
fix(details2):fixed overflow bog (#519)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsenParvar authored Oct 5, 2021
1 parent 930ca8c commit b065c3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/atoms/details2/components/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const Details2Content = ({
const Wrapper = styled.div`
max-height: ${({ fitParentHeight, maxHeight, isOpen }) =>
fitParentHeight ? 'unset' : isOpen ? maxHeight + 'px' : '0px'};
overflow: hidden;
overflow: ${({ isOpen }) => (isOpen ? 'visible' : 'hidden')};
${({ fitParentHeight, isOpen }) =>
fitParentHeight &&
css`
Expand Down

0 comments on commit b065c3a

Please sign in to comment.