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
|
<div
|
||||||
class="step-background step-{i + 1} w-full absolute"
|
class="step-background step-{i + 1} w-full absolute"
|
||||||
class:visible="{stackBackground ? i <= index : i === index}"
|
class:visible="{stackBackground ? i <= index : i === index}"
|
||||||
class:hidden="{stackBackground ? i > index : i !== index}"
|
class:invisible="{stackBackground ? i > index : i !== index}"
|
||||||
>
|
>
|
||||||
<svelte:component
|
<svelte:component
|
||||||
this="{step.background}"
|
this="{step.background}"
|
||||||
|
|
@ -28,7 +28,7 @@
|
||||||
.step-background {
|
.step-background {
|
||||||
transition: 0.35s opacity ease;
|
transition: 0.35s opacity ease;
|
||||||
|
|
||||||
&.hidden {
|
&.invisible {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue