fix: transitions don't work for values that aren't fixed

This commit is contained in:
Cory Dransfeldt 2024-06-17 12:22:25 -07:00
parent 6acd3f31fc
commit 4baa16eaa5
No known key found for this signature in database
3 changed files with 3 additions and 5 deletions

View file

@ -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 {