From c368093c762c0bdea032e4a5c7d19168e06b159d Mon Sep 17 00:00:00 2001 From: "mimo.oyn" Date: Mon, 2 Dec 2024 17:04:17 +0800 Subject: [PATCH] fix: fix multiple code block style --- src/styles/docsStyle.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/styles/docsStyle.less b/src/styles/docsStyle.less index 0ccbdc3d..516c7ac5 100644 --- a/src/styles/docsStyle.less +++ b/src/styles/docsStyle.less @@ -741,6 +741,10 @@ margin: 20px 0 -16px 0; overflow-x: auto; + & + p:empty { + margin-bottom: 20px; + } + & ~ pre:has(code:not(.active)[class*='language-']) { margin-bottom: 0px; }