From ed5a984980f6fcb2bebb51a82fe8618ed937a0e7 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Tue, 10 Nov 2015 09:29:48 +0100 Subject: [PATCH] CSS: Small fixes in main.less refs #5543 --- public/css/icinga/main.less | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/public/css/icinga/main.less b/public/css/icinga/main.less index 340351dc9..182594773 100644 --- a/public/css/icinga/main.less +++ b/public/css/icinga/main.less @@ -14,7 +14,7 @@ } .icon-col { - width: 28px; + width: 1em; } .icon-strikethrough { @@ -79,24 +79,21 @@ a:hover > .icon-cancel { // List styles .comment-list { - > .comment-header { + margin: 0; + + .comment-header { border-bottom: 1px solid @gray-lighter; - margin-top: @vertical-padding; &:hover { background-color: @gray-lightest; > .comment-meta > .meta-icons > .remove-action { - display: block; + visibility: visible; } } - &:first-child { - margin-top: 0; - } - > .comment-meta > .meta-icons > .remove-action { - display: none; + visibility: hidden; } } } @@ -108,7 +105,6 @@ a:hover > .icon-cancel { .comment-meta { color: @text-color-light; font-size: @font-size-small; - vertical-align: middle; > .meta-icons { float: right; @@ -119,7 +115,6 @@ a:hover > .icon-cancel { .comment-text { // Reset margin margin: 0; - margin-top: @vertical-padding / 2; } .name-value-list { @@ -142,7 +137,6 @@ a:hover > .icon-cancel { td, th { padding-top: 0.667em; padding-bottom: 0.667em; - vertical-align: middle; } th {