From 107ac2321b1c60e502fe9a2dcfed70f58b508110 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 19 Sep 2018 08:47:43 +0200 Subject: [PATCH] scss: give additional top margin to titles after grid elements (#26541) --- static/includes/_grid.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/static/includes/_grid.scss b/static/includes/_grid.scss index 70e8964c..0bb4cfa0 100644 --- a/static/includes/_grid.scss +++ b/static/includes/_grid.scss @@ -32,6 +32,11 @@ form div[class*=grid-] { + h3, +h4, +p, +div { clear: both; } + + h3, + h4 { + // give additional padding to compensate the margin being + // "absorbed" by the floating element. + padding-top: 1rem; + } } form div[class*=grid-] span.select2-selection, -- 2.19.0