Skip to content

Commit

Permalink
Removes right border radius on the first button in a button group
Browse files Browse the repository at this point in the history
  • Loading branch information
nternetinspired committed Jul 8, 2013
1 parent c6ea36d commit e6f9e3f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion media/jui/less/button-groups.less
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
// Set corners individual because sometimes a single button can be in a .btn-group and we need :first-child and :last-child to both match
.btn-group > .btn:first-child {
margin-left: 0;
.border-radius(@baseBorderRadius);
.border-top-left-radius(@borderRadiusLarge);
.border-bottom-left-radius(@borderRadiusLarge);
}
// Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it
.btn-group > .btn:last-child,
Expand Down

0 comments on commit e6f9e3f

Please sign in to comment.