From 2fc9a5153bc4689d912676809bb8973bf21763fb Mon Sep 17 00:00:00 2001 From: matevip Date: Tue, 12 May 2026 11:41:29 +0800 Subject: [PATCH] fix(enterprise): contain panels in scrollable body and rebuild steppers as centered vertical layout --- .gitignore | 1 - .../src/views/Enterprise/AccountIntel.vue | 1 + .../src/views/Enterprise/Approvals.vue | 14 +- mateclaw-ui/src/views/Enterprise/Audit.vue | 12 +- .../src/views/Enterprise/ContractReview.vue | 153 ++++++++++++++---- mateclaw-ui/src/views/Enterprise/Overview.vue | 104 +++++++++--- mateclaw-ui/src/views/Enterprise/index.vue | 16 +- 7 files changed, 244 insertions(+), 57 deletions(-) diff --git a/.gitignore b/.gitignore index 2e20f10d..dd12de0d 100644 --- a/.gitignore +++ b/.gitignore @@ -98,7 +98,6 @@ CLAUDE.md # Codex CLI local artifacts .codex/ -.superpowers/ # Sync tooling local state (generated each run; report is intentionally tracked) scripts/.*-sync-state.json diff --git a/mateclaw-ui/src/views/Enterprise/AccountIntel.vue b/mateclaw-ui/src/views/Enterprise/AccountIntel.vue index 0beaa613..6c7ecb22 100644 --- a/mateclaw-ui/src/views/Enterprise/AccountIntel.vue +++ b/mateclaw-ui/src/views/Enterprise/AccountIntel.vue @@ -269,6 +269,7 @@ function scoreToneFor(score: number): string { .account-shell { display: grid; grid-template-columns: 280px 1fr 340px; + grid-template-rows: minmax(0, 1fr); gap: 14px; flex: 1; min-height: 0; diff --git a/mateclaw-ui/src/views/Enterprise/Approvals.vue b/mateclaw-ui/src/views/Enterprise/Approvals.vue index c2ba7910..97c08aeb 100644 --- a/mateclaw-ui/src/views/Enterprise/Approvals.vue +++ b/mateclaw-ui/src/views/Enterprise/Approvals.vue @@ -138,7 +138,19 @@ function riskLabel(r: 'high' | 'medium' | 'low'): string {