fix: clean up Agreed/Not Agreed button icon classes
Icons now use class="mr-1" consistent with all other Lucide icons in the codebase. Removed hardcoded text-green-500 on Check and bg-red-500/text-white on X — the button's ae_btn_success_filled/ae_btn_warning_filled classes already handle theming in both light and dark mode via Skeleton presets. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -124,7 +124,7 @@ async function on_delete(method: 'delete' | 'disable') {
|
||||
}}
|
||||
class="btn btn-sm ae_btn_success_filled mx-1 font-bold"
|
||||
title="Agreed to terms and conditions">
|
||||
<Check size="1em" class="px-1 text-green-500" />
|
||||
<Check size="1em" class="mr-1" />
|
||||
Agreed
|
||||
</button>
|
||||
{:else}
|
||||
@@ -141,9 +141,7 @@ async function on_delete(method: 'delete' | 'disable') {
|
||||
}}
|
||||
class="btn btn-sm ae_btn_warning_filled mx-1 font-bold"
|
||||
title="View terms and conditions">
|
||||
<X
|
||||
size="1em"
|
||||
class="mx-1 bg-red-500 px-1 text-white" />
|
||||
<X size="1em" class="mr-1" />
|
||||
Not yet agreed
|
||||
</button>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user