Skip to content

Commit e4ae47e

Browse files
[autofix.ci] apply automated fixes
1 parent 73c61b2 commit e4ae47e

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

app/components/Header/SearchBox.vue

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,24 @@ defineExpose({ focus })
104104
<div class="relative group" :class="{ 'is-focused': isSearchFocused }">
105105
<div class="search-box relative flex items-center">
106106
<span
107-
class="absolute inset-is-3 text-fg-subtle font-mono text-sm pointer-events-none transition-colors duration-200 motion-reduce:transition-none [.group:hover:not(:focus-within)_&]:text-fg/80 group-focus-within:text-accent z-1">
107+
class="absolute inset-is-3 text-fg-subtle font-mono text-sm pointer-events-none transition-colors duration-200 motion-reduce:transition-none [.group:hover:not(:focus-within)_&]:text-fg/80 group-focus-within:text-accent z-1"
108+
>
108109
/
109110
</span>
110111

111-
<InputBase id="header-search" ref="inputRef" v-model="searchQuery" type="search" name="q"
112-
:placeholder="$t('search.placeholder')" no-correct class="w-full min-w-25 ps-7"
113-
@focus="isSearchFocused = true" @blur="isSearchFocused = false" size="small" />
112+
<InputBase
113+
id="header-search"
114+
ref="inputRef"
115+
v-model="searchQuery"
116+
type="search"
117+
name="q"
118+
:placeholder="$t('search.placeholder')"
119+
no-correct
120+
class="w-full min-w-25 ps-7"
121+
@focus="isSearchFocused = true"
122+
@blur="isSearchFocused = false"
123+
size="small"
124+
/>
114125
<button type="submit" class="sr-only">{{ $t('search.button') }}</button>
115126
</div>
116127
</div>

0 commit comments

Comments
 (0)