Border styling for button groups with two or more than three children #901
-
If you look at the default example for button groups, you'll notice that the start and end border of the middle button is set to zero so that the vertical lines have the same width. This works great for a group of three buttons but what about for two or more than three? This question comes from an issue I faced in One way I could think of is to make the start and the end borders I've seen libraries for other frameworks don't have a proper solution to this either, I was hoping the design team can come up with a design that solves this. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Bootstrap seems to have solved this by setting the margin start to |
Beta Was this translation helpful? Give feedback.
Bootstrap seems to have solved this by setting the margin start to
-1px
so it overlaps with the adjacent button's border. I think this might be the best solution. ~ Source