vendor/assets/bower_components/bootstrap/less/badges.less in railsstrap-3.3.2 vs vendor/assets/bower_components/bootstrap/less/badges.less in railsstrap-3.3.4
- old
+ new
@@ -26,12 +26,13 @@
// Quick fix for badges in buttons
.btn & {
position: relative;
top: -1px;
}
-
- .btn-xs & {
+
+ .btn-xs &,
+ .btn-group-xs > .btn & {
top: 0;
padding: 1px 5px;
}
// Hover state, but only for links
@@ -48,18 +49,18 @@
.list-group-item.active > &,
.nav-pills > .active > a > & {
color: @badge-active-color;
background-color: @badge-active-bg;
}
-
+
.list-group-item > & {
float: right;
}
-
+
.list-group-item > & + & {
margin-right: 5px;
}
-
+
.nav-pills > li > a > & {
margin-left: 3px;
}
}