Skip to content

Commit

Permalink
(less) fixes twbs#9241: enable collapsing for labels, in addition to …
Browse files Browse the repository at this point in the history
…badges, when empty
  • Loading branch information
mdo committed Aug 11, 2013
1 parent d1498c8 commit f25a25c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion badges.less
Expand Up @@ -18,7 +18,7 @@
background-color: @badge-bg;
border-radius: @badge-border-radius;

// Empty labels/badges collapse
// Empty badges collapse automatically (not available in IE8)
&:empty {
display: none;
}
Expand Down
5 changes: 5 additions & 0 deletions labels.less
Expand Up @@ -23,6 +23,11 @@
cursor: pointer;
}
}

// Empty labels collapse automatically (not available in IE8)
&:empty {
display: none;
}
}

// Colors
Expand Down

0 comments on commit f25a25c

Please sign in to comment.