diff --git a/biji-qianduan/src/components/HomePage.vue b/biji-qianduan/src/components/HomePage.vue
index bd525a9..6958910 100644
--- a/biji-qianduan/src/components/HomePage.vue
+++ b/biji-qianduan/src/components/HomePage.vue
@@ -39,7 +39,7 @@
- 清空
+ 返回
编辑
删除
返回
@@ -731,6 +731,20 @@ const handleExportMd = () => {
.dark-theme .vditor-toolbar__item--current {
background-color: var(--primary-color-light) !important;
}
+
+/* 移除预览中代码块的内部滚动条 */
+.markdown-preview .vditor-reset pre {
+ max-height: none !important;
+ overflow: visible !important;
+}
+
+.markdown-preview .vditor-reset pre code {
+ max-height: none !important;
+ overflow-y: visible !important;
+ word-break: break-all !important;
+ white-space: pre-wrap !important;
+ display: block;
+}