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