diff --git a/Web/src/styles/rich-content.css b/Web/src/styles/rich-content.css index 275c34b..c17b5e4 100644 --- a/Web/src/styles/rich-content.css +++ b/Web/src/styles/rich-content.css @@ -71,7 +71,7 @@ .rich-html-content thead, .rich-html-content tbody { display: table; - width: 100%; + min-width: 100%; table-layout: fixed; /* 核心:强制列宽分配逻辑一致 */ } @@ -101,7 +101,7 @@ /* 通用列宽规则:第一列占 40%,其他列自动平分剩余 60% */ .rich-html-content th:first-child, .rich-html-content td:first-child { - width: 30%; + max-width: 30%; } /* 业务特定样式:收入、支出、高亮 */