From f2ef428a7c2afbfec3fbaf911fed589a26409c32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sun, 7 Oct 2018 17:16:22 +0200 Subject: [PATCH] scss: fix grid display in form status page (#27063) --- static/includes/_grid.scss | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/static/includes/_grid.scss b/static/includes/_grid.scss index 4dfec7e9..66fdf5b5 100644 --- a/static/includes/_grid.scss +++ b/static/includes/_grid.scss @@ -30,9 +30,6 @@ div[class*=grid-] { div.dataview div[class*=grid-], 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. @@ -40,6 +37,18 @@ form div[class*=grid-] { } } +form div[class*=grid-] { + + h3, + h4, + p, + div { + clear: both; + } +} + +div.dataview div[class*=grid-] { + + div.title, + div.subtitle { + clear: both; + } +} + form div[class*=grid-] span.select2-selection, form div[class*=grid-] div.select2-container { width: 100% !important; -- 2.19.1