From 135bea54dcbebcb6be8556fa895b991bebdae98e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Sun, 29 Sep 2019 12:50:06 -0400 Subject: [PATCH] Take control of title class bottom margin --- web/themes/custom/geofresco/src/global/overrides.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web/themes/custom/geofresco/src/global/overrides.scss b/web/themes/custom/geofresco/src/global/overrides.scss index b4a037c..a70e8a5 100644 --- a/web/themes/custom/geofresco/src/global/overrides.scss +++ b/web/themes/custom/geofresco/src/global/overrides.scss @@ -32,6 +32,9 @@ background-size: cover; } +/* The not last child stuff is needed to prevent some crazy Bulma rule that + sets a margin of 1.5rem on bloody everything not last child. */ +.title, .title:not(:last-child) { - margin-bottom: initial; + margin-bottom: 0.5em; }