Skip to content

Commit

Permalink
Fixed border-radius when only one button exists in a button-bar
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianAlbrecht committed May 4, 2015
1 parent 9c612b4 commit b952bd9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scss/_button-bar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
.button-bar > .button {
@include flex(1);
display: block;

overflow: hidden;

padding: 0 16px;
Expand All @@ -51,4 +51,7 @@
border-right-width: 1px;
border-radius: 0px $button-border-radius $button-border-radius 0px;
}
&:only-child {
border-radius: $button-border-radius;
}
}

0 comments on commit b952bd9

Please sign in to comment.