Skip to content

Commit

Permalink
fix(badge): Vertical align a badge in an item-divider, closes #707
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdbradley committed Mar 3, 2014
1 parent a0d60d5 commit cb5510c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scss/_items.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@
top: $item-padding;
right: ($item-padding * 2) + 5;
}
&.item-divider .badge {
top: $item-padding / 2;
}
.badge + .badge {
margin-right: 5px;
}
Expand Down
1 change: 1 addition & 0 deletions test/html/lists.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ <h1 class="title">Lists</h1>

<div class="item item-divider">
Leisure
<span class="badge badge-positive">33</span>
</div>

<a href="#" class="item item-icon-left">
Expand Down

0 comments on commit cb5510c

Please sign in to comment.