mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -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}
|
{/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>
|
||||||
|
|
Loading…
Reference in a new issue