Skip to content

Commit

Permalink
fix: setting 'display: none' style for closed cut (#321)
Browse files Browse the repository at this point in the history
  • Loading branch information
smsochneg authored Oct 20, 2023
1 parent 57b9f16 commit 22831d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scss/_cut.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
}

&-content {
height: 0;
display: none;
overflow: hidden;
transition: height 0.3s ease-in-out;
}

&.open {
> #{$class}-content {
display: revert;
padding: 5px 0 15px 30px;
height: auto;
}

> #{$class}-title:before {
Expand Down

0 comments on commit 22831d0

Please sign in to comment.