feat: add mark page resolved button to moderation

This commit is contained in:
James Xylight committed 2025-02-12 17:28:44 -08:00
1 parent 2b08d0dd3f
commit bf417a97c4
4 files changed
+75 -16

No files matched your search

+12 -10
View File
@@ -47,16 +47,18 @@
title={label}
style="transition-property: background-color, filter;"
>
{#if icon}
<Icon
src={icon}
micro={isPanel}
solid={!isPanel && isSelected}
size={isPanel ? '16' : '18'}
/>
{:else}
{@render customIcon?.({ size: isPanel ? 16 : 18, isSelected })}
{/if}
{#snippet prefix()}
{#if icon}
<Icon
src={icon}
micro={isPanel}
solid={!isPanel && isSelected}
size={isPanel ? '16' : '18'}
/>
{:else}
{@render customIcon?.({ size: isPanel ? 16 : 18, isSelected })}
{/if}
{/snippet}
<span class="hidden {adaptive ? '@3xl:block' : ''}">{label}</span>
{@render children?.()}
</Button>