From db328c62dc10fd9d39c06988b68cc97bcfcb18c3 Mon Sep 17 00:00:00 2001 From: yuxuanhui Date: Sun, 13 Sep 2026 00:26:08 +0800 Subject: [PATCH] style: reduce spacing between platform check labels and values --- frontend/src/components/AlphaDetail.tsx | 2 +- frontend/src/style.css | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/AlphaDetail.tsx b/frontend/src/components/AlphaDetail.tsx index fd0b3b9..77a0ffe 100644 --- a/frontend/src/components/AlphaDetail.tsx +++ b/frontend/src/components/AlphaDetail.tsx @@ -520,7 +520,7 @@ function PlatformChecks({ )} {rows.length ? ( rows.map((check, i) => ( -
+
{displayValue(check.name)} {displayValue(check.value)} / {displayValue(check.limit)} diff --git a/frontend/src/style.css b/frontend/src/style.css index e290394..f799882 100644 --- a/frontend/src/style.css +++ b/frontend/src/style.css @@ -677,6 +677,14 @@ label:not(.semi-checkbox):not(.semi-radio) { .check-row > span:first-child { flex: 1; } +.platform-check-row { + justify-content: flex-start; +} +.platform-check-row > span:first-child { + flex: 0 1 50%; + min-width: 0; + overflow-wrap: anywhere; +} .detail-save { margin-top: var(--space-4); }