Skip to content

Commit

Permalink
fix(ButtonGroup): remove btn-group when vertical
Browse files Browse the repository at this point in the history
  • Loading branch information
eddywashere committed Mar 25, 2016
1 parent fe6bef2 commit 9b70e37
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/ButtonGroup.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@ class ButtonGroup extends React.Component {

const classes = classNames(
className,
'btn-group',
size ? 'btn-' + size : false,
vertical ? 'btn-group-vertical' : false
size ? 'btn-group-' + size : false,
vertical ? 'btn-group-vertical' : 'btn-group'
);

return (
Expand Down

0 comments on commit 9b70e37

Please sign in to comment.