Skip to content

Commit

Permalink
Merge pull request #162 from bricss/feature/enhanced-button-group
Browse files Browse the repository at this point in the history
feat(enhancement): support for any type of elements (e.g. <a>) in but…
  • Loading branch information
picturepan2 authored Mar 11, 2017
2 parents be74a78 + d9b4f7b commit 3a8a40a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/buttons.less
Original file line number Diff line number Diff line change
Expand Up @@ -151,15 +151,15 @@

.btn {
flex: 1 0 auto;
&:first-of-type:not(:last-of-type) {
&:first-child:not(:last-child) {
border-bottom-right-radius: 0;
border-top-right-radius: 0;
}
&:not(:first-of-type):not(:last-of-type) {
&:not(:first-child):not(:last-child) {
border-radius: 0;
margin-left: -.1rem;
}
&:last-of-type:not(:first-of-type) {
&:last-child:not(:first-child) {
border-bottom-left-radius: 0;
border-top-left-radius: 0;
margin-left: -.1rem;
Expand Down

0 comments on commit 3a8a40a

Please sign in to comment.