Skip to content

Commit b952bd9

Browse files
Fixed border-radius when only one button exists in a button-bar
1 parent 9c612b4 commit b952bd9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: scss/_button-bar.scss

+4-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
.button-bar > .button {
2727
@include flex(1);
2828
display: block;
29-
29+
3030
overflow: hidden;
3131

3232
padding: 0 16px;
@@ -51,4 +51,7 @@
5151
border-right-width: 1px;
5252
border-radius: 0px $button-border-radius $button-border-radius 0px;
5353
}
54+
&:only-child {
55+
border-radius: $button-border-radius;
56+
}
5457
}

0 commit comments

Comments
 (0)