From 4684e9246e1f9dd6e989f7fb051a0ffdc3acedf3 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Wed, 11 Nov 2015 10:37:09 +0100 Subject: [PATCH] CSS: Reduce size of badges refs #5543 --- public/css/icinga/badges.less | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/public/css/icinga/badges.less b/public/css/icinga/badges.less index 7445e7bc8..46a99969b 100644 --- a/public/css/icinga/badges.less +++ b/public/css/icinga/badges.less @@ -1,5 +1,8 @@ /*! Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */ +@badge-line-height: 1.2; +@badge-padding: 0.25em; + .badge { .rounded-corners(); background-color: @gray-light; @@ -7,10 +10,9 @@ display: inline-block; font-family: @font-family-wide; font-size: @font-size-small; - font-weight: @font-weight-bold; - line-height: 1; - min-width: 3em; - padding: @vertical-padding / 2; + line-height: @badge-line-height; + min-width: 2em; + padding: @badge-padding; text-align: center; vertical-align: middle; white-space: nowrap;