feat(ui): refine search input focus states
This commit is contained in:
+1
-1
@@ -72,7 +72,7 @@ export default function HomePage() {
|
||||
type="text"
|
||||
name="q"
|
||||
placeholder="搜索陪玩、店铺、游戏..."
|
||||
className="w-full border-border bg-card shadow-sm transition-shadow focus-visible:shadow-md"
|
||||
className="w-full border-border bg-card shadow-sm transition-colors focus-visible:border-primary"
|
||||
/>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
@@ -567,7 +567,7 @@ function SearchPageContent() {
|
||||
icon={<Search />}
|
||||
type="search"
|
||||
placeholder="搜索陪玩、游戏、标签..."
|
||||
className="border-border bg-card shadow-sm transition-shadow focus-visible:shadow-md"
|
||||
className="border-border bg-card shadow-sm transition-colors focus-visible:border-primary"
|
||||
value={searchQuery}
|
||||
onChange={(e) => setSearchQuery(e.target.value)}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user