diff options
| author | Brian Nelson <[email protected]> | 2013-07-30 11:23:25 -0400 |
|---|---|---|
| committer | Brian Nelson <[email protected]> | 2013-07-30 11:23:25 -0400 |
| commit | 220fee80bfc4b80f43e4316d7f5fc081ba80a0db (patch) | |
| tree | 847d51b5bb20b81c88f93dcf7050feb543cfedac | |
| parent | 5ef1fe160eb60622027dc14ab0627da704d5b374 (diff) | |
| download | bootstrap-220fee80bfc4b80f43e4316d7f5fc081ba80a0db.tar.xz bootstrap-220fee80bfc4b80f43e4316d7f5fc081ba80a0db.zip | |
Improves label and badge alignment so text aligns with baseline
| -rw-r--r-- | less/badges.less | 2 | ||||
| -rw-r--r-- | less/labels.less | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/less/badges.less b/less/badges.less index 216d6014b..06f402925 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 7ee7ee68a..7e7ea169f 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; |
