Skip to content

Commit e9085ca

Browse files
committed
fix: autofocus on index page
1 parent 01114b2 commit e9085ca

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/pages/index.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ defineOgImageComponent('Default', {
9090
v-model="searchQuery"
9191
type="search"
9292
name="q"
93+
autofocus
9394
:placeholder="$t('search.placeholder')"
9495
v-bind="noCorrect"
9596
class="w-full bg-bg-subtle border border-border rounded-lg ps-8 pe-24 py-4 font-mono text-base text-fg placeholder:text-fg-subtle transition-border-color duration-300 focus:border-accent focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent/50"

0 commit comments

Comments
 (0)