We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05a4cfa commit 949c0b9Copy full SHA for 949c0b9
1 file changed
app/components/Modal.client.vue
@@ -34,14 +34,14 @@ defineExpose({
34
<h2 :id="modalTitleId" class="font-mono text-lg font-medium">
35
{{ modalTitle }}
36
</h2>
37
- <button
+ <ButtonBase
38
type="button"
39
class="text-fg-subtle hover:text-fg transition-colors duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fg/50 rounded"
40
:aria-label="$t('common.close')"
41
@click="handleModalClose"
42
>
43
<span class="i-carbon-close w-5 h-5" aria-hidden="true" />
44
- </button>
+ </ButtonBase>
45
</div>
46
<!-- Modal body content -->
47
<slot />
0 commit comments