From 41c3aeafef7630e03dab13796ddbd6d71edf5766 Mon Sep 17 00:00:00 2001 From: Thomas JUND Date: Thu, 19 Jan 2023 11:09:13 +0100 Subject: [PATCH] css: remove margins of .cell--body child (#73591) --- static/includes/_cells.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/static/includes/_cells.scss b/static/includes/_cells.scss index 8429cff2..e02ae31b 100644 --- a/static/includes/_cells.scss +++ b/static/includes/_cells.scss @@ -100,8 +100,9 @@ div.a2-block, & h2 + div, .cell--body { padding: 1rem; - & p.empty-message { - margin: 0; + > :only-child { + margin-top: 0; + margin-bottom: 0; } } & h2 + div.links-list {