diff --git a/src/components/Lottie/Lottie.stories.svelte b/src/components/Lottie/Lottie.stories.svelte index a8a318a4..7790547a 100644 --- a/src/components/Lottie/Lottie.stories.svelte +++ b/src/components/Lottie/Lottie.stories.svelte @@ -83,7 +83,7 @@ - + :global { - .scroller-lottie-foreground { + .lottie-foreground-container { header { padding: 2rem; background-color: black; diff --git a/src/components/Lottie/LottieForeground.svelte b/src/components/Lottie/LottieForeground.svelte index e20e9377..ed74a21e 100644 --- a/src/components/Lottie/LottieForeground.svelte +++ b/src/components/Lottie/LottieForeground.svelte @@ -43,19 +43,16 @@ }); - +
{#if componentState?.currentFrame && componentState.currentFrame >= startFrame && componentState.currentFrame <= endFrame}
{#if text} - +
{/if} - +