From 252b2cafe82aa8e08ef77e47107ffd89ab3e2ee5 Mon Sep 17 00:00:00 2001 From: MinamiFunakoshiTR Date: Wed, 3 Dec 2025 14:59:52 -0500 Subject: [PATCH] clean up LottieForeground --- src/components/Lottie/Lottie.stories.svelte | 4 +- src/components/Lottie/LottieForeground.svelte | 56 +++++++------------ 2 files changed, 23 insertions(+), 37 deletions(-) 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} - +