Mysterious gray separator line between Buttons in a Button Group / Radio (Button) Group #821
-
Describe the bugI changed the coloring of a Button Group / Radio Button Group (applies to both) and its buttons using custom CSS. To ReproduceSteps to reproduce the behavior:
Demohttps://codepen.io/oliverscodepens/pen/bGvVXOW ScreenshotsBrowser / OS
Additional informationMight be that I just didn't find the right way to overwrite, using CSS, the correct element and style instruction… meaning it's not a bug. Any pointing into the right direction hence is much appreciated (and excuse if it turns out not to be an actual bug 😉) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Your CodePen link goes to the Shoelace docs, so I can't see the code you're working with. Mind updating the link so I can take a look? |
Beta Was this translation helpful? Give feedback.
-
I was 99% sure this was going to be a styling question, but it was actually caused by a style that should have only been applied to solid buttons. shoelace/src/components/button/button.styles.ts Lines 561 to 571 in a5a4621 These styles were created before Radio Buttons existed and, with the default borders, it wasn't noticeable. I've pushed a fix in 99368b9 that will be available in the next release. Thanks for bringing this up! |
Beta Was this translation helpful? Give feedback.
I was 99% sure this was going to be a styling question, but it was actually caused by a style that should have only been applied to solid buttons.
shoelace/src/components/button/button.styles.ts
Lines 561 to 571 in a5a4621
These styles were created …