Skip to content

Commit

Permalink
Button group | Now every kind of button can be in a button group
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreBroudin committed May 5, 2015
1 parent 449a155 commit 17b4f2d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions src/scss/components/button-group/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,17 @@
margin-left: -1px;
padding-top: $pd--s - rem(1px);
padding-bottom: $pd--s - rem(1px);
color: $gray-chateau;
background-color: $porcelain;
border: 1px solid $iron;
border-radius: 0;

&:first-child {
margin-left: 0;
border-top-left-radius: $base-radius;
border-bottom-left-radius: $base-radius;
}

&:hover,
&.is-active {
background-color: $iron;
&:last-child {
border-top-right-radius: $base-radius;
border-bottom-right-radius: $base-radius;
}
}
}
2 changes: 1 addition & 1 deletion src/scss/components/tabs/_base.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.Tabs {
margin: 0;
padding: 0 $base-pd;
padding: 0;
font-size: 0;
text-align: left;
list-style: none;
Expand Down

0 comments on commit 17b4f2d

Please sign in to comment.