closes #136
This commit is contained in:
parent
0880e56e8a
commit
c99197e68f
1 changed files with 2 additions and 2 deletions
|
|
@ -14,7 +14,7 @@
|
|||
<div
|
||||
class="step-background step-{i + 1} w-full absolute"
|
||||
class:visible="{stackBackground ? i <= index : i === index}"
|
||||
class:hidden="{stackBackground ? i > index : i !== index}"
|
||||
class:invisible="{stackBackground ? i > index : i !== index}"
|
||||
>
|
||||
<svelte:component
|
||||
this="{step.background}"
|
||||
|
|
@ -28,7 +28,7 @@
|
|||
.step-background {
|
||||
transition: 0.35s opacity ease;
|
||||
|
||||
&.hidden {
|
||||
&.invisible {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue