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 1d205f6 commit 6808fb6Copy full SHA for 6808fb6
1 file changed
app/components/AppHeader.vue
@@ -110,14 +110,14 @@ onKeyStroke(
110
111
<!-- Center: Search bar + nav items -->
112
<div
113
- class="flex items-center justify-center md:gap-6"
114
- :class="isSearchExpanded ? 'flex-1' : 'flex-1 hidden sm:flex'"
+ class="flex-1 flex items-center justify-center md:gap-6"
+ :class="{ 'hidden sm:flex': !isSearchExpanded }"
115
>
116
<!-- Search bar (hidden on mobile unless expanded) -->
117
<SearchBox
118
ref="searchBoxRef"
119
:inputClass="isSearchExpanded ? 'w-full' : ''"
120
- :class="isSearchExpanded ? 'flex-1' : 'flex-1 max-w-md'"
+ :class="{ 'max-w-md': !isSearchExpanded }"
121
@focus="handleSearchFocus"
122
@blur="handleSearchBlur"
123
/>
0 commit comments