vendor/assets/stylesheets/twitter/bootstrap/_labels-badges.scss in bootstrap-sass-rails-2.2.1.2 vs vendor/assets/stylesheets/twitter/bootstrap/_labels-badges.scss in bootstrap-sass-rails-2.2.2.0
- old
+ new
@@ -26,9 +26,17 @@
padding-left: 9px;
padding-right: 9px;
@include border-radius(9px);
}
+// Empty labels/badges collapse
+.label,
+.badge {
+ &:empty {
+ display: none;
+ }
+}
+
// Hover state, but only for links
a {
&.label:hover,
&.badge:hover {
color: $white;