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%; } /* 业务特定样式:收入、支出、高亮 */