mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
fix(ButtonGroup): use -space-x-px on wrapper
This commit is contained in:
@@ -198,7 +198,7 @@ const button = {
|
||||
}
|
||||
|
||||
const buttonGroup = {
|
||||
wrapper: 'inline-flex',
|
||||
wrapper: 'inline-flex -space-x-px',
|
||||
rounded: 'rounded-md',
|
||||
shadow: 'shadow-sm'
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user