From 83dfa66d855c64bbe1d186843114de83990dfd0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E8=AF=9A?= Date: Mon, 12 Jan 2026 18:00:08 +0800 Subject: [PATCH] =?UTF-8?q?css=20=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Web/src/styles/rich-content.css | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/Web/src/styles/rich-content.css b/Web/src/styles/rich-content.css index a4578ec..2887c6f 100644 --- a/Web/src/styles/rich-content.css +++ b/Web/src/styles/rich-content.css @@ -98,18 +98,10 @@ font-weight: 600; } -.rich-html-content th:nth-child(1), -.rich-html-content td:nth-child(1) { - width: 40%; -} - -.rich-html-content th:nth-child(2), -.rich-html-content td:nth-child(2), -.rich-html-content th:nth-child(3), -.rich-html-content td:nth-child(3), -.rich-html-content th:nth-child(4), -.rich-html-content td:nth-child(4) { - width: 20%; +/* 通用列宽规则:第一列占 40%,其他列自动平分剩余 60% */ +.rich-html-content th:first-child, +.rich-html-content td:first-child { + width: 30%; } /* 业务特定样式:收入、支出、高亮 */