Skip to content

Mysterious gray separator line between Buttons in a Button Group / Radio (Button) Group #821

Closed Answered by claviska
oliveratgithub asked this question in Help
Discussion options

You must be logged in to vote

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.

/* Add a visual separator between solid buttons */
:host(.sl-button-group__button:not(.sl-button-group__button--focus, .sl-button-group__button--first, [variant='default']):not(:hover, :active, :focus))
.button:after {
content: '';
position: absolute;
top: 0;
inset-inline-start: 0;
bottom: 0;
border-left: solid 1px rgb(128 128 128 / 33%);
mix-blend-mode: multiply;
}

These styles were created …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@oliveratgithub
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by oliveratgithub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
bug Things that aren't working right in the library.
2 participants
Converted from issue

This discussion was converted from issue #816 on July 06, 2022 13:01.