Fix fields not showing with reduce motion active (#2170)

* Fix fields not showing with reduce motion active

* Fix CSS selector
This commit is contained in:
Matthias Metelka 2022-11-02 11:44:53 +01:00 committed by GitHub
parent 262134c05f
commit d3309658d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,21 +78,13 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
{/if} {/if}
<style lang="scss"> <style lang="scss">
.collapsible.full-hide {
&.collapsed {
display: none;
}
&.transitioning {
display: initial;
}
}
.collapsible.animated { .collapsible.animated {
&.measuring { &.measuring {
display: unset; display: unset;
position: absolute; position: absolute;
opacity: 0; opacity: 0;
} }
&.transitioning { &.transitioning {
overflow: hidden; overflow: hidden;
height: var(--height); height: var(--height);
@ -100,5 +92,14 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
overflow: visible; overflow: visible;
} }
} }
&.full-hide {
&.collapsed {
display: none;
}
&.transitioning {
display: initial;
}
}
} }
</style> </style>