]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix issue twbs/bootstrap#15561
authorKevin Kirsche <Kev.Kirsche+GitHub@gmail.com>
Wed, 21 Jan 2015 17:01:25 +0000 (12:01 -0500)
committerKevin Kirsche <Kev.Kirsche+GitHub@gmail.com>
Wed, 21 Jan 2015 17:01:25 +0000 (12:01 -0500)
Fix issue twbs/bootstrap#15561 regarding badges not shrinking to fit inside of .btn-group-xs

less/badges.less

index 0817323a6cedabad0a70670044b719fa3ac3baef..650b2134c67f20b40f4ac31067846198bbb691bd 100644 (file)
@@ -29,7 +29,7 @@
     top: -1px;
   }
 
-  .btn-xs & {
+  .btn-xs &, .btn-group-xs > .btn & {
     top: 0;
     padding: 1px 5px;
   }