vendor/assets/stylesheets/twbs/bootstrap/badges.less in twbs_less_rails-2.5.1 vs vendor/assets/stylesheets/twbs/bootstrap/badges.less in twbs_less_rails-2.6.0
- old
+ new
@@ -20,25 +20,25 @@
// Empty badges collapse automatically (not available in IE8)
&:empty {
display: none;
}
+
+ // Quick fix for badges in buttons
+ .btn & {
+ position: relative;
+ top: -1px;
+ }
}
// Hover state, but only for links
a.badge {
&:hover,
&:focus {
color: @badge-link-hover-color;
text-decoration: none;
cursor: pointer;
}
-}
-
-// 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 {