Skip to content

Commit 0f9d174

Browse files
committed
fix: fix close button for modal
1 parent a05c470 commit 0f9d174

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

app/components/Modal.client.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,10 @@ defineExpose({
5555
</h2>
5656
<ButtonBase
5757
type="button"
58-
class="text-fg-subtle w-8 h-8 p-1.5 -m-1.5 hover:text-fg transition-colors duration-200 focus-visible:outline-accent/70 rounded"
5958
:aria-label="$t('common.close')"
6059
@click="handleModalClose"
61-
>
62-
<span class="i-carbon-close w-5 h-5" aria-hidden="true" />
63-
</ButtonBase>
60+
classicon="i-carbon-close"
61+
/>
6462
</div>
6563
<!-- Modal body content -->
6664
<slot />

0 commit comments

Comments
 (0)