mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
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:
parent
262134c05f
commit
d3309658d3
1 changed files with 10 additions and 9 deletions
|
@ -78,21 +78,13 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
{/if}
|
||||
|
||||
<style lang="scss">
|
||||
.collapsible.full-hide {
|
||||
&.collapsed {
|
||||
display: none;
|
||||
}
|
||||
&.transitioning {
|
||||
display: initial;
|
||||
}
|
||||
}
|
||||
|
||||
.collapsible.animated {
|
||||
&.measuring {
|
||||
display: unset;
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
&.transitioning {
|
||||
overflow: hidden;
|
||||
height: var(--height);
|
||||
|
@ -100,5 +92,14 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
overflow: visible;
|
||||
}
|
||||
}
|
||||
|
||||
&.full-hide {
|
||||
&.collapsed {
|
||||
display: none;
|
||||
}
|
||||
&.transitioning {
|
||||
display: initial;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in a new issue