]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Improves label and badge alignment so text aligns with baseline
authorBrian Nelson <brian@crankapps.com>
Tue, 30 Jul 2013 15:23:25 +0000 (11:23 -0400)
committerBrian Nelson <brian@crankapps.com>
Tue, 30 Jul 2013 15:23:25 +0000 (11:23 -0400)
less/badges.less
less/labels.less

index 216d6014b9ab372951f82229a9785a4a930c4d10..06f402925140731e09ef56fb75b1e2cae4a8d7a4 100644 (file)
@@ -12,7 +12,7 @@
   font-weight: bold;
   color: @badge-color;
   line-height: 1;
-  vertical-align: middle;
+  vertical-align: baseline;
   white-space: nowrap;
   text-align: center;
   background-color: @badge-bg;
index 7ee7ee68a41e03ef997c0dffbf1ae7b0fad78620..7e7ea169f01abc1b70c0a441a629a20caef8b6df 100644 (file)
@@ -11,7 +11,7 @@
   color: @label-color;
   text-align: center;
   white-space: nowrap;
-  vertical-align: middle;
+  vertical-align: baseline;
   background-color: @gray-light;
   border-radius: .25em;