fix(frontend): cleanup block shows its failure in the error color
This commit is contained in:
1 parent
b8a38092eb
commit
850d39ad6f
1 file changed
+6
-2
@@ -93,7 +93,7 @@
|
|||||||
<span>{filesLabel(moved.files)} в корзине</span>
|
<span>{filesLabel(moved.files)} в корзине</span>
|
||||||
<small>{formatBytes(moved.bytes)} освободится через 7 дней</small>
|
<small>{formatBytes(moved.bytes)} освободится через 7 дней</small>
|
||||||
{#if problem}
|
{#if problem}
|
||||||
<small class="warn">{problem}</small>
|
<small class="failed">{problem}</small>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
<Button disabled={moving} onclick={undo} smaller variant="text">
|
<Button disabled={moving} onclick={undo} smaller variant="text">
|
||||||
@@ -121,7 +121,7 @@
|
|||||||
</small>
|
</small>
|
||||||
{/if}
|
{/if}
|
||||||
{#if problem}
|
{#if problem}
|
||||||
<small class="warn">{problem}</small>
|
<small class="failed">{problem}</small>
|
||||||
{/if}
|
{/if}
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
<Button
|
<Button
|
||||||
@@ -235,6 +235,10 @@
|
|||||||
&.warn {
|
&.warn {
|
||||||
color: var(--color-storage-warning);
|
color: var(--color-storage-warning);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.failed {
|
||||||
|
color: var(--color-error);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user