Rework button group styling to better blend in with buttons.

Review Request #13645 — Created March 18, 2024 and submitted

Information

Ink
master

Reviewers

Button groups no longer apply their own border or border radius, instead
using those of the buttons they contain. This avoids some
inconsistencies between border radiuses (where the inner was a bit too
small, if you zoom in), and keeps button borders consistent with that of
the inner buttons (noticeable when a button group consists only of
primary or danger buttons).

A very thin (half a pixel) border is also now applied between buttons,
making it easier to see where one button ends and another begins.

Tested this in Storybook, and with the in-progress MenuButton.

Summary ID
Rework button group styling to better blend in with buttons.
Button groups no longer apply their own border or border radius, instead using those of the buttons they contain. This avoids some inconsistencies between border radiuses (where the inner was a bit too small, if you zoom in), and keeps button borders consistent with that of the inner buttons (noticeable when a button group consists only of primary or danger buttons). A very thin (half a pixel) border is also now applied between buttons, making it easier to see where one button ends and another begins.
e4dc751e4dcf63e259524aa46f1e2db3894dc881

david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (29478cc)
Loading...