From 1d96316195c98aaa81161f7d4e450d6a864c3ec0 Mon Sep 17 00:00:00 2001 From: Lemming <069solis@gmail.com> Date: Tue, 30 Jan 2024 10:18:07 +0800 Subject: [PATCH] fix(style):fix code block style; --- zh-CN/theme/style1.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/zh-CN/theme/style1.css b/zh-CN/theme/style1.css index 0557cac69..f9b43a090 100644 --- a/zh-CN/theme/style1.css +++ b/zh-CN/theme/style1.css @@ -82,6 +82,9 @@ table { } /* 修复可编辑代码框顶部过窄的问题 */ -code.editable, .ace_scroller { - top: 10px; +.hljs.ace_editor{ + padding: 10px; +} +.ace_scroller{ + position: static; } \ No newline at end of file