From 82b22613c0c0340aa807a75a219c8cc04210d5c1 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 30 Jun 2021 08:00:00 +0100 Subject: [PATCH] Remove top margin on first markdown child element --- assets/css/components.pcss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/assets/css/components.pcss b/assets/css/components.pcss index 08c02c002..a9923bbe8 100644 --- a/assets/css/components.pcss +++ b/assets/css/components.pcss @@ -4,6 +4,10 @@ @apply mt-4; } + > *:first-child { + @apply mt-0; + } + h2 + * { @apply mt-2; }