From 1325af610909332bdab615107af2f6fb7371b1db Mon Sep 17 00:00:00 2001 From: Serghei Mihai Date: Tue, 1 Sep 2020 18:08:17 +0200 Subject: [PATCH] scss: don't use margin for no data fields (#45202) --- static/grandlyon-cut/_custom.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/grandlyon-cut/_custom.scss b/static/grandlyon-cut/_custom.scss index 4d9f854..d83b0cc 100644 --- a/static/grandlyon-cut/_custom.scss +++ b/static/grandlyon-cut/_custom.scss @@ -1020,7 +1020,7 @@ div.cut-edit { } ul { margin: 5ex 0; - padding: 0 0 0 1em; + padding: 0; li { &:first-child { border-top: 2px solid #ccc; @@ -1028,9 +1028,11 @@ div.cut-edit { list-style-type: none; padding: 2.5ex 0; border-bottom: 2px solid #ccc; + margin-left: 1em; &.nodata { border: 0; padding: 0; + margin-left: 0; } span.field-value { float: right;