From af7263d216ecd11bd9a772cf725c26964cac8c52 Mon Sep 17 00:00:00 2001 From: Yonas Habteab Date: Mon, 13 Jun 2022 09:00:23 +0200 Subject: [PATCH] CSS: Don't add padding top to the dashelt caption When you add some text that exceeds the webkit line clamp, the dashlet caption looks off to me. Since the caption doesn't have padding-bottom, we shouldn't also add padding-top to it. --- public/css/icinga/dashboards.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/css/icinga/dashboards.less b/public/css/icinga/dashboards.less index 292bc7b1e..414ee8c7c 100644 --- a/public/css/icinga/dashboards.less +++ b/public/css/icinga/dashboards.less @@ -217,7 +217,7 @@ } .caption { - padding: .25em .5em 0 .5em; + padding: 0 .5em 0 .5em; height: 3em; overflow: hidden; display: -webkit-box;