Skip to content

Commit

Permalink
[@mantine/core] SegmentedControl: Fix incorrect border styles in vert…
Browse files Browse the repository at this point in the history
…ical orientation (#3670)
  • Loading branch information
jksaunders committed Mar 8, 2023
1 parent edcc3da commit 6843283
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,7 @@ export default createStyles(
borderTopColor: 'transparent !important',

[`& + .${getStylesRef('control')}`]: {
borderLeftColor: 'transparent !important',
borderTopColor: 'transparent !important',
[vertical ? 'borderTopColor' : 'borderLeftColor']: 'transparent !important',
},
borderRadius: theme.fn.radius(radius),
boxShadow: shouldAnimate
Expand Down

0 comments on commit 6843283

Please sign in to comment.