style(client): keep the search rows on dev's glyph rail

The rebase onto dev landed both halves of #15643's row rail except in
`WebSearch`, whose completed row had since moved its glyph into a shared
`Button` and whose streaming row kept a 10px gap. Restore the shared
`ROW_GLYPH_SLOT` around the completed row's favicon stack or globe and
drop the streaming row's gap to 8px, so both search rows put their glyph
on the avatar's axis and their text where the header's name starts.
This commit is contained in:
Marco Beretta 2026-09-06 18:50:32 +02:00
parent a23e8828ae
commit 6e16282b5c
No known key found for this signature in database
GPG key ID: D918033D8E74CC11

View file

@ -295,11 +295,13 @@ export default function WebSearch({
: completedText
}
>
{hasSourceData ? (
<SourceFaviconStack sources={allSources} />
) : (
<Globe className="size-4 shrink-0 text-text-secondary" aria-hidden="true" />
)}
<span className={ROW_GLYPH_SLOT} aria-hidden="true">
{hasSourceData ? (
<SourceFaviconStack sources={allSources} />
) : (
<Globe className="size-4 shrink-0 text-text-secondary" />
)}
</span>
<span className="min-w-0 truncate font-medium">{completedText}</span>
{hasSourceData && (
<ChevronDown
@ -430,7 +432,7 @@ export default function WebSearch({
}
return (
<div className="relative my-1 flex h-5 shrink-0 items-center gap-2.5">
<div className="relative my-1 flex h-5 shrink-0 items-center gap-2">
<span className="sr-only" aria-live="polite" aria-atomic="true">
{genericProgressText}
</span>