fix(ButtonGroup): use -space-x-px on wrapper

This commit is contained in:
Benjamin Canac
2023-06-06 15:58:24 +02:00
parent a6176720c7
commit d91c0bb894
2 changed files with 1 additions and 5 deletions

View File

@@ -198,7 +198,7 @@ const button = {
}
const buttonGroup = {
wrapper: 'inline-flex',
wrapper: 'inline-flex -space-x-px',
rounded: 'rounded-md',
shadow: 'shadow-sm'
}

View File

@@ -59,10 +59,6 @@ export default defineComponent({
vProps.ui.rounded = rounded.value.left
}
if (index > 0) {
vProps.class += ' -ml-px'
}
if (index === children.value.length - 1) {
vProps.ui.rounded = rounded.value.right
}