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
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:
@@ -55,23 +55,28 @@
|
||||
|
||||
/* 表格样式优化 - 确保表格独立滚动且列对齐 */
|
||||
.rich-html-content table {
|
||||
display: block;
|
||||
min-width: 100%;
|
||||
display: table;
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
margin: 8px 0;
|
||||
background: var(--van-background-2);
|
||||
border-radius: 4px;
|
||||
border: none;
|
||||
table-layout: fixed;
|
||||
}
|
||||
|
||||
.rich-html-content table {
|
||||
overflow-x: auto; /* 仅表格内部横向滚动 */
|
||||
-webkit-overflow-scrolling: touch;
|
||||
overflow-y: auto;
|
||||
max-height: 35vh;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.rich-html-content thead,
|
||||
.rich-html-content tbody {
|
||||
display: table;
|
||||
min-width: 100%;
|
||||
width: 100%;
|
||||
table-layout: fixed; /* 核心:强制列宽分配逻辑一致 */
|
||||
}
|
||||
|
||||
@@ -98,10 +103,10 @@
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* 通用列宽规则:第一列占 40%,其他列自动平分剩余 60% */
|
||||
/* 通用列宽规则:第一列占 30%,其他列自动平分剩余 70% */
|
||||
.rich-html-content th:first-child,
|
||||
.rich-html-content td:first-child {
|
||||
max-width: 30%;
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
/* 业务特定样式:收入、支出、高亮 */
|
||||
|
||||
Reference in New Issue
Block a user