style/about dialog: exclude the brackets from the contributor role tooltip cue

This commit is contained in:
Adorian Doran
2026-04-12 20:59:29 +03:00
parent 3a8f0e0fcd
commit d3c927ed88

View File

@@ -213,12 +213,11 @@ function ContributorListItem({data, onHover}: {data: Contributor, onHover?: Hove
</a>
{roleString && <span
className="contributor-role"
ref={roleRef}
onMouseEnter={(e) => onHover?.(data, true, "role")}
onMouseLeave={(e) => onHover?.(data, false, "role")}>
({roleString})
(<span className="contributor-role">{roleString}</span>)
</span>}
</>
}