From e5d1d907319d216897d5c4400f9bbe553f4e89f3 Mon Sep 17 00:00:00 2001 From: "mimo.oyn" Date: Wed, 4 Dec 2024 20:57:28 +0800 Subject: [PATCH] fix: fix the code block style after p and inner td --- src/styles/docsStyle.less | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/styles/docsStyle.less b/src/styles/docsStyle.less index 516c7ac5..f6a755bc 100644 --- a/src/styles/docsStyle.less +++ b/src/styles/docsStyle.less @@ -249,6 +249,9 @@ p { margin-bottom: 0; } + p + pre { + margin-top: 20px; + } } ul { @@ -504,11 +507,16 @@ border-right: 1px solid @color-black4; } + code { + font-size: 13px; + line-height: 1.4; + } + @media @tablet { font-size: 14px; code { - font-size: 14px; + font-size: 13px; } } }