diff --git a/src/mantine-core/src/Button/ButtonGroup/ButtonGroup.styles.ts b/src/mantine-core/src/Button/ButtonGroup/ButtonGroup.styles.ts index a231352a570..1a8628b23d0 100644 --- a/src/mantine-core/src/Button/ButtonGroup/ButtonGroup.styles.ts +++ b/src/mantine-core/src/Button/ButtonGroup/ButtonGroup.styles.ts @@ -33,6 +33,13 @@ export default createStyles( [orientation === 'vertical' ? 'borderBottomWidth' : 'borderRightWidth']: buttonBorderWidth / 2, }, + + '& + [data-button]': { + [orientation === 'vertical' ? 'marginTop' : 'marginLeft']: -buttonBorderWidth, + '@media (min-resolution: 192dpi)': { + [orientation === 'vertical' ? 'marginTop' : 'marginLeft']: 0, + }, + }, }, }, })