style(client): help cursor on the retrieval relevance badge

The badge sits inside a clickable row, so it inherited the pointer
cursor while only offering an explanatory tooltip.
This commit is contained in:
Marco Beretta 2026-07-31 04:33:23 +02:00
parent d1f84fa4a4
commit b00516b11f
No known key found for this signature in database
GPG key ID: D918033D8E74CC11

View file

@ -312,10 +312,10 @@ function FileHeader({
<TooltipAnchor
description={localize('com_ui_relevance')}
side="top"
className="flex items-center"
className="flex cursor-help items-center"
>
<span
className="shrink-0 rounded bg-surface-tertiary px-1.5 py-0.5 text-[11px] tabular-nums leading-none text-text-secondary"
className="shrink-0 cursor-help rounded bg-surface-tertiary px-1.5 py-0.5 text-[11px] tabular-nums leading-none text-text-secondary"
aria-label={`${localize('com_ui_relevance')}: ${Math.round(relevance * 100)}%`}
>
{Math.round(relevance * 100)}%