app/frameworks/twitter/bootstrap/badges.less in less-rails-bootstrap-3.0.5 vs app/frameworks/twitter/bootstrap/badges.less in less-rails-bootstrap-3.0.6
- 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 {