feat(settings): animate the active settings description
The selected settings description now morphs between values with TextMorph unless reduced motion is enabled.
This commit is contained in:
1 parent
d555ac366f
commit
4d57184b73
1 file changed
+5
-1
@@ -3135,7 +3135,11 @@
|
|||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
<p class="mt-0.5 truncate text-[11px] text-muted-foreground">
|
<p class="mt-0.5 truncate text-[11px] text-muted-foreground">
|
||||||
{activeSettings.description}
|
{#if $reduceAnimations}
|
||||||
|
{activeSettings.description}
|
||||||
|
{:else}
|
||||||
|
<TextMorph text={activeSettings.description} />
|
||||||
|
{/if}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
|
|||||||
Reference in new issue
Block a user