From fae69d44fd58b0c047f7a09cf20caf65f79e734f Mon Sep 17 00:00:00 2001 From: Han <1655466387@qq.com> Date: Thu, 20 Mar 2025 15:48:19 +0800 Subject: [PATCH] =?UTF-8?q?Table=20=E6=A0=B7=E5=BC=8F=E5=BE=AE=E8=B0=83?= =?UTF-8?q?=E2=9C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/styles/ArticleBase.less | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/styles/ArticleBase.less b/src/styles/ArticleBase.less index 701e4b9..c5be5e9 100644 --- a/src/styles/ArticleBase.less +++ b/src/styles/ArticleBase.less @@ -134,7 +134,6 @@ } th { - text-align: center; background-color: #f8f9fa; padding: 0.75rem; border-bottom: solid 1px #EEEEEE; @@ -169,6 +168,13 @@ background-color: #f2f2f2; } } + + // 其下面的code标签样式 + code { + background-color: var(--vh-color-default); + padding: .125rem .375rem; + font-size: 0.8125rem; + } } // 自定义组件样式