From ba7a968881083b9d3b3b6ecd65df076e76bcb164 Mon Sep 17 00:00:00 2001 From: Mattia Ippoliti Date: Sat, 1 Apr 2023 22:50:08 +0200 Subject: [PATCH] fix: padding for empty title callouts (#308) --- assets/styles/_callouts.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/assets/styles/_callouts.scss b/assets/styles/_callouts.scss index 04fd2f662..e1650fc87 100644 --- a/assets/styles/_callouts.scss +++ b/assets/styles/_callouts.scss @@ -114,6 +114,10 @@ blockquote[class*="-callout"] > p:first-child { } } +blockquote[class*="-callout"] > p:empty { + padding: 1.2em 35px; +} + $summary: summary, abstract, tldr; $bug: bug; $danger: danger, error;