From 8e331af6aae5786cb67e9f4376e544f49dc61eef Mon Sep 17 00:00:00 2001 From: qiuxiang <394405259@qq.com> Date: Mon, 26 Oct 2026 21:20:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AE=89=E8=A3=85=E8=B4=B9=E5=BA=97?= =?UTF-8?q?=E9=93=BA=E6=98=8E=E7=BB=86=E8=A1=A8=E5=A4=B4=E9=80=82=E9=85=8D?= =?UTF-8?q?=E5=BC=B9=E7=AA=97=E5=AE=BD=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../installation-fee-summary.blade.php | 29 +++++++++++++++++-- tests/Feature/Business/ManagementCrudTest.php | 4 ++- 2 files changed, 30 insertions(+), 3 deletions(-) diff --git a/resources/views/business/pages/partials/installation-fee-summary.blade.php b/resources/views/business/pages/partials/installation-fee-summary.blade.php index 649a716d..cb624683 100644 --- a/resources/views/business/pages/partials/installation-fee-summary.blade.php +++ b/resources/views/business/pages/partials/installation-fee-summary.blade.php @@ -394,12 +394,29 @@ .installation-fee-table { width: 100%; - min-width: 72rem; + min-width: 100%; + table-layout: fixed; border-collapse: collapse; font-size: 0.75rem; font-variant-numeric: tabular-nums; } + .installation-fee-table col:nth-child(1) { + width: 34%; + } + + .installation-fee-table col:nth-child(2) { + width: 22%; + } + + .installation-fee-table col:nth-child(3) { + width: 18%; + } + + .installation-fee-table col:nth-child(4) { + width: 26%; + } + .installation-fee-table th, .installation-fee-table td { padding: var(--installation-fee-table-cell-padding); @@ -407,7 +424,8 @@ line-height: 1.5; text-align: left; vertical-align: middle; - white-space: nowrap; + overflow-wrap: anywhere; + white-space: normal; } .installation-fee-table thead th { @@ -422,6 +440,7 @@ .installation-fee-table .is-number { text-align: right; + white-space: nowrap; } .installation-fee-empty { @@ -586,6 +605,12 @@