vmware-archive / clarity

Clarity is a scalable, accessible, customizable, open source design system built with web components. Works with any JavaScript framework, built for enterprises, and designed to be inclusive.
http://clarity.design
MIT License
6.43k stars 761 forks source link

Button in line with ButtonGroup slightly offset in Firefox #6325

Closed Mackemania closed 2 years ago

Mackemania commented 3 years ago

Describe the bug

When viewing a web-page the button after a button group is displayed differently in Google Chrome and Mozilla Firefox. The top borders of the button is aligned with the buttons in the button group in Chrome. In Firefox it is slightly offset downwards. Please note the "Print users"-button in the Firefox screenshot below. Zooming might be necessary.

Chrome Screenshot:

chrome-buttons

Firefox Screenshot:

firefox-buttons

firefox-buttons2

How to reproduce

https://clarity-dark-theme-v5-a99ack.stackblitz.io

Steps to reproduce the behavior:

  1. Watch the top and bottom edge of the buttons in Google Chrome and Mozilla Firefox.

Expected behavior

The buttons should be aligned in both browsers.

Versions

Clarity project:

Clarity version:

Framework:

Framework version:

Device:

github-actions[bot] commented 1 year ago

Hi there 👋, this is an automated message. To help Clarity keep track of discussions, we automatically lock closed issues after 14 days. Please look for another open issue or open a new issue with updated details and reference this one as necessary.