Skip to content

Commit

Permalink
Merge branch 'master' of github.com:twbs/bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Dec 1, 2013
2 parents 6bc09dd + 5283e51 commit ed98ac7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
12 changes: 6 additions & 6 deletions less/badges.less
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@
&:empty {
display: none;
}

// Quick fix for badges in buttons
.btn & {
position: relative;
top: -1px;
}
}

// Hover state, but only for links
Expand All @@ -34,12 +40,6 @@ a.badge {
}
}

// Quick fix for labels/badges in buttons
.btn .badge {
position: relative;
top: -1px;
}

// Account for counters in navs
a.list-group-item.active > .badge,
.nav-pills > .active > a > .badge {
Expand Down
6 changes: 6 additions & 0 deletions less/labels.less
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@
&:empty {
display: none;
}

// Quick fix for labels in buttons
.btn & {
position: relative;
top: -1px;
}
}

// Colors
Expand Down

0 comments on commit ed98ac7

Please sign in to comment.