fix: class:transition-opacity shorthand misparsed by Svelte 5
This commit is contained in:
@@ -53,7 +53,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
{#if active || done || error}
|
{#if active || done || error}
|
||||||
<div class="flex items-center gap-2 py-2 text-xs {error ? 'text-destructive' : done ? 'text-success' : 'text-muted-foreground'}" class:opacity-50={done} class:transition-opacity>
|
<div class="flex items-center gap-2 py-2 text-xs transition-opacity {error ? 'text-destructive' : done ? 'text-success opacity-50' : 'text-muted-foreground'}">
|
||||||
<span class="shrink-0">
|
<span class="shrink-0">
|
||||||
{#if error}
|
{#if error}
|
||||||
<XIcon class="size-3" />
|
<XIcon class="size-3" />
|
||||||
|
|||||||
Reference in New Issue
Block a user