From c5d68995ecc396e8b6666f0bd30c4d267c11a5d7 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Wed, 22 Jul 2015 11:03:01 +0200 Subject: [PATCH] forms.less: top-align field lables and related... ...items like icons. They used to be bottom-aligned, resulting in slightly confusing form layouts when text areas where involved. --- public/css/icinga/forms.less | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/public/css/icinga/forms.less b/public/css/icinga/forms.less index c6df47ca6..cfb26f801 100644 --- a/public/css/icinga/forms.less +++ b/public/css/icinga/forms.less @@ -200,6 +200,14 @@ form label { width: 10em; } +form div.element > * { + vertical-align: top; +} + +form dt { + vertical-align: top; +} + select, input[type=text], textarea { width: 20em; display: inline-block;