From 6b07b172b161a0d29c6b143f72379875f8383c9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sat, 3 Mar 2018 18:32:16 +0100 Subject: [PATCH] style: remove top/bottom margin on error notice edges (#22246) --- gadjo/static/css/_forms.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gadjo/static/css/_forms.scss b/gadjo/static/css/_forms.scss index ec1222a..4834676 100644 --- a/gadjo/static/css/_forms.scss +++ b/gadjo/static/css/_forms.scss @@ -18,6 +18,12 @@ form div.widget { div.errornotice p { margin: 1ex 0; + &:first-child { + margin-top: 0; + } + &:last-child { + margin-bottom: 0; + } } div.error { -- 2.16.2