fix: transitions don't work for values that aren't fixed
This commit is contained in:
parent
6acd3f31fc
commit
4baa16eaa5
3 changed files with 3 additions and 5 deletions
|
@ -20,7 +20,6 @@
|
|||
height: 500px;
|
||||
overflow: hidden;
|
||||
margin-bottom: var(--sizing-base);
|
||||
transition: height 0.5s ease-out;
|
||||
}
|
||||
|
||||
&.text-toggle-hidden::after {
|
||||
|
@ -37,7 +36,6 @@
|
|||
|
||||
& .toggle-checkbox:checked ~ [data-toggle-content] {
|
||||
height: auto;
|
||||
transition: height 0.5s ease-in;
|
||||
}
|
||||
|
||||
& .toggle-checkbox:checked ~ [data-toggle-content]::after {
|
||||
|
|
Reference in a new issue