Skip to content

Commit

Permalink
Merge pull request joomla#50 from nternetinspired/button-styles
Browse files Browse the repository at this point in the history
Removes right border radius on the first button in a button group
  • Loading branch information
davidhurley committed Jul 8, 2013
2 parents c6ea36d + e6f9e3f commit 53e5889
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 53e5889

Please sign in to comment.