brand icon indicating copy to clipboard operation
brand copied to clipboard

🐛 [BUG] - Border in `Label` gets distorted when zoomed

Open simurai opened this issue 1 year ago • 1 comments

Describe the bug

When zooming, the "border" of the Label component can show different thickness.

An option might be to replace the mask with a regular border, so that is snaps to whole pixels on all sides, but then I guess we'd loose the support for "gradient borders"? 🤔 🤷 This feels like a low priority issue and more a nice to have.

Reproduction steps

  1. Go to https://github.com/features/issues
  2. Zoom in once (110%)
  3. Notice how the bottom "border" is thicker than the rest

Expected behavior

Border thickness should be the same on all sides.

Screenshots

Label showing the bottom border is thicker

Browsers

Chrome

OS

Mac

simurai avatar Jan 23 '25 08:01 simurai

Thanks for reporting this bug, @simurai! I will address it in this PR, where we are adding new gradient options to the Label.

danielguillan avatar Jan 24 '25 09:01 danielguillan