style(webui): simplify prompt navigator header

This commit is contained in:
Xubin Ren
2026-06-06 00:19:31 +08:00
parent 855a0c3f07
commit 488b278752
@@ -68,14 +68,9 @@ export function PromptNavigator({
className="w-[min(92vw,24rem)] gap-0 p-0 sm:max-w-[24rem]" className="w-[min(92vw,24rem)] gap-0 p-0 sm:max-w-[24rem]"
> >
<div className="border-b px-5 pb-4 pt-5"> <div className="border-b px-5 pb-4 pt-5">
<div className="flex items-center justify-between gap-3"> <SheetTitle className="text-base font-medium">
<SheetTitle className="text-base font-medium"> {t("thread.promptNavigator.title")}
{t("thread.promptNavigator.title")} </SheetTitle>
</SheetTitle>
<span className="rounded-full bg-muted px-2 py-0.5 text-xs text-muted-foreground">
{prompts.length}
</span>
</div>
<div className="relative mt-4"> <div className="relative mt-4">
<Search <Search
aria-hidden aria-hidden