From 5a57903f6cfdb60b3478d3b7fd0ea1f2112d0067 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Tue, 30 Jul 2019 10:17:57 +0200 Subject: [PATCH] forms.less: Fix element error layout --- public/css/icinga/forms.less | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/public/css/icinga/forms.less b/public/css/icinga/forms.less index 4c3a6ff42..228679154 100644 --- a/public/css/icinga/forms.less +++ b/public/css/icinga/forms.less @@ -65,8 +65,8 @@ form.icinga-form { opacity: .5; } - .errors > li { - margin-left: .5em; + .errors { + margin: 0; } } } @@ -431,14 +431,13 @@ form.icinga-form { .errors { list-style: none; - position: relative; - margin: 0; - padding: 0; display: block; width: 100%; + margin: 0 0 0 15em; + padding: 0; & > li { - margin: -0.5em 0 0.5em 16.5em; + margin: 0.5em; color: #f56; } }