fix(frontend): cleanup block shows its failure in the error color

This commit is contained in:
hh committed 2026-10-14 05:17:58 +02:00
1 parent b8a38092eb
commit 850d39ad6f
1 file changed
+6 -2
@@ -93,7 +93,7 @@
<span>{filesLabel(moved.files)} в корзине</span>
<small>{formatBytes(moved.bytes)} освободится через 7 дней</small>
{#if problem}
<small class="warn">{problem}</small>
<small class="failed">{problem}</small>
{/if}
</div>
<Button disabled={moving} onclick={undo} smaller variant="text">
@@ -121,7 +121,7 @@
</small>
{/if}
{#if problem}
<small class="warn">{problem}</small>
<small class="failed">{problem}</small>
{/if}
<div class="actions">
<Button
@@ -235,6 +235,10 @@
&.warn {
color: var(--color-storage-warning);
}
&.failed {
color: var(--color-error);
}
}
}