From 220fee80bfc4b80f43e4316d7f5fc081ba80a0db Mon Sep 17 00:00:00 2001 From: Brian Nelson Date: Tue, 30 Jul 2013 11:23:25 -0400 Subject: [PATCH] Improves label and badge alignment so text aligns with baseline --- less/badges.less | 2 +- less/labels.less | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/less/badges.less b/less/badges.less index 216d6014b9..06f4029251 100644 --- a/less/badges.less +++ b/less/badges.less @@ -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; diff --git a/less/labels.less b/less/labels.less index 7ee7ee68a4..7e7ea169f0 100644 --- a/less/labels.less +++ b/less/labels.less @@ -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;