From b2b17f4c3d00140012c43c23c3541295f9fd7292 Mon Sep 17 00:00:00 2001 From: Henrik Giesel Date: Wed, 27 Jan 2021 00:50:26 +0100 Subject: [PATCH] Recreate border-spacing with margins for #fields --- qt/aqt/data/web/css/editor.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/qt/aqt/data/web/css/editor.scss b/qt/aqt/data/web/css/editor.scss index 5d376ba74..af714c161 100644 --- a/qt/aqt/data/web/css/editor.scss +++ b/qt/aqt/data/web/css/editor.scss @@ -5,6 +5,18 @@ display: flex; flex-direction: column; margin: 5px; + + & > * { + margin: 1px 0; + + &:first-child { + margin-top: 0; + } + + &:last-child { + margin-bottom: 0; + } + } } .field {