From 19fefc322fd299cb5639858421e20c30bc504149 Mon Sep 17 00:00:00 2001 From: Giorgio Garofalo Date: Sun, 11 Aug 2024 19:50:14 +0200 Subject: [PATCH] Set code block vertical margin --- core/src/main/resources/render/theme/global.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/src/main/resources/render/theme/global.css b/core/src/main/resources/render/theme/global.css index eeddf4e8..1b53984c 100644 --- a/core/src/main/resources/render/theme/global.css +++ b/core/src/main/resources/render/theme/global.css @@ -55,6 +55,11 @@ a { color: var(--qd-link-color); } +pre { + margin-top: var(--qd-block-margin); + margin-bottom: var(--qd-block-margin); +} + pre code { max-height: none !important; }