aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay McMahan <[email protected]>2015-04-13 01:24:56 -0500
committerRay McMahan <[email protected]>2015-04-13 01:24:56 -0500
commitb8a4bc1b9392b9dffa1266b9ace239237488b6b5 (patch)
treef8adffc4e249eec3dce7f5e0327bad23a2528f54
parenta719eb69d22095dee95900b66eee9b7469c8ca46 (diff)
downloadbootstrap-b8a4bc1b9392b9dffa1266b9ace239237488b6b5.tar.xz
bootstrap-b8a4bc1b9392b9dffa1266b9ace239237488b6b5.zip
Fixes #16270.
Badges now appeared vertically centered next to text. Previously, badges appeared to be somewhat lower than tall text such as h1's next to it.
-rw-r--r--less/badges.less2
1 files changed, 1 insertions, 1 deletions
diff --git a/less/badges.less b/less/badges.less
index c70bb939e..6ee16dca4 100644
--- a/less/badges.less
+++ b/less/badges.less
@@ -12,7 +12,7 @@
font-weight: @badge-font-weight;
color: @badge-color;
line-height: @badge-line-height;
- vertical-align: baseline;
+ vertical-align: middle;
white-space: nowrap;
text-align: center;
background-color: @badge-bg;