From 4a33c0744432156bde0634cb1b21b481715b18a7 Mon Sep 17 00:00:00 2001 From: eti Date: Wed, 29 Jul 2026 19:57:46 +0200 Subject: [PATCH] web/components: build the issue search from Input and Button same as the repo toolbar: the field and the clear control were raw elements reimplementing the primitives' border, padding, focus ring and hover states. the clear button keeps its absolute placement since Input has no interactive icon slot, and pr-9 only applies while it's on screen. Signed-off-by: eti --- .../components/repo/issues/IssueSearch.svelte | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/web/src/lib/components/repo/issues/IssueSearch.svelte b/web/src/lib/components/repo/issues/IssueSearch.svelte index 9b7bbfdc..64762404 100644 --- a/web/src/lib/components/repo/issues/IssueSearch.svelte +++ b/web/src/lib/components/repo/issues/IssueSearch.svelte @@ -2,6 +2,8 @@ import { page } from "$app/state"; import Search from "$icon/search"; import X from "$icon/x"; + import Button from "$lib/components/ui/Button.svelte"; + import Input from "$lib/components/ui/Input.svelte"; let form: HTMLFormElement; // seed from the url so the query (and the clear button) survive a submit @@ -13,30 +15,28 @@ }; -
+
-
-- 2.51.2