Skip to content

Commit 9b70e37

Browse files
committed
fix(ButtonGroup): remove btn-group when vertical
1 parent fe6bef2 commit 9b70e37

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

lib/ButtonGroup.jsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,8 @@ class ButtonGroup extends React.Component {
2929

3030
const classes = classNames(
3131
className,
32-
'btn-group',
33-
size ? 'btn-' + size : false,
34-
vertical ? 'btn-group-vertical' : false
32+
size ? 'btn-group-' + size : false,
33+
vertical ? 'btn-group-vertical' : 'btn-group'
3534
);
3635

3736
return (

0 commit comments

Comments
 (0)