fix
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 16s
Docker Build & Deploy / Deploy to Production (push) Successful in 9s
Docker Build & Deploy / Cleanup Dangling Images (push) Successful in 1s
Docker Build & Deploy / WeChat Notification (push) Successful in 1s

This commit is contained in:
孙诚
2026-01-12 19:19:05 +08:00
parent d324d204d5
commit de4e692bce

View File

@@ -55,27 +55,23 @@
/* 表格样式优化 - 确保表格独立滚动且列对齐 */ /* 表格样式优化 - 确保表格独立滚动且列对齐 */
.rich-html-content table { .rich-html-content table {
display: table; display: block;
width: 100%; width: 100%;
border-collapse: collapse; border-collapse: collapse;
margin: 8px 0; margin: 8px 0;
background: var(--van-background-2); background: var(--van-background-2);
border-radius: 4px; border-radius: 4px;
border: none; border: none;
table-layout: fixed;
}
.rich-html-content table {
overflow-x: auto; /* 仅表格内部横向滚动 */ overflow-x: auto; /* 仅表格内部横向滚动 */
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
overflow-y: auto; overflow-y: auto;
max-height: 35vh; max-height: 35vh;
display: block;
} }
.rich-html-content thead, .rich-html-content thead,
.rich-html-content tbody { .rich-html-content tbody {
display: table; display: table;
width: 100%;
table-layout: fixed; /* 核心:强制列宽分配逻辑一致 */ table-layout: fixed; /* 核心:强制列宽分配逻辑一致 */
} }