NuGet / NuGetGallery

NuGet Gallery is a package repository that powers https://www.nuget.org. Use this repo for reporting NuGet.org issues.
https://www.nuget.org/
Apache License 2.0
1.52k stars 643 forks source link

TFM Badges: Fixed focus underline and outline + Added missing tooltip #9796

Closed advay26 closed 5 months ago

advay26 commented 5 months ago

Addresses https://github.com/NuGet/NuGetGallery/issues/9795

This fixes:

  1. The TFM badges were showing a trailing underline when someone hovered over it. This has now been removed. image

  2. When someone brought tab focus to the badges, it showed an outline, but the outline was distorted because the child elements (<span>) had different dimensions to the parent (<a>). This has been fixed.

    Previously, image Now, image

  3. The TFM badges are supposed to have a tooltip when you hover over them (See the package display page: https://www.nuget.org/packages/Newtonsoft.Json). This tooltip was missing on the search page, but it's been added now. image