Skip to content

Commit

Permalink
fix: update css to handle wrapped buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
jongomez committed Oct 16, 2023
1 parent eb5dddb commit 356e8c5
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ export const ButtonGroupStyles = css`
.${buttonGroupClasses.root} {
display: flex;
flex-direction: row;
}
.${buttonGroupClasses.outlined} .${buttonClasses.root}:not(:last-child) {
border-right: none;
> *:not(:last-child) {
&.${buttonClasses.outlined}, .${buttonClasses.outlined} {
border-right: none;
}
}
}
`

0 comments on commit 356e8c5

Please sign in to comment.