From 02fcf072359abbb891a5c72e1fb666480b48814c Mon Sep 17 00:00:00 2001 From: suncheng Date: Mon, 12 Jan 2026 18:15:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Web/src/styles/rich-conten?= =?UTF-8?q?t.css?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Web/src/styles/rich-content.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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%; } /* 业务特定样式:收入、支出、高亮 */