Skip to content

Commit 52679c0

Browse files
committed
fix: use ButtonBase in mobile menu cmd palette item
1 parent 7881d2f commit 52679c0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/components/Header/MobileMenu.client.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,7 @@ onUnmounted(deactivate)
189189
{{ $t('command_palette.title') }}
190190
</span>
191191

192-
<button
193-
type="button"
192+
<ButtonBase
194193
class="w-full flex items-center gap-3 px-3 py-3 rounded-md font-mono text-sm text-fg hover:bg-bg-subtle transition-colors duration-200 text-start"
195194
:aria-label="$t('shortcuts.command_palette')"
196195
@click="handleOpenCommandPalette"
@@ -199,7 +198,7 @@ onUnmounted(deactivate)
199198
<span class="i-lucide:command w-3 h-3 text-fg-muted" aria-hidden="true" />
200199
</span>
201200
<span class="flex-1">{{ $t('command_palette.quick_actions') }}</span>
202-
</button>
201+
</ButtonBase>
203202
</div>
204203

205204
<!-- Divider -->

0 commit comments

Comments
 (0)