From 9eb10ba7713b58495eb9001f8172250e1fd40b3f Mon Sep 17 00:00:00 2001 From: dekun Date: Thu, 9 Jul 2026 10:21:25 +0800 Subject: [PATCH] Align risk policy cards per row with equal-height stretch in 2x2 grid. Co-authored-by: Cursor --- lib/common/static/instance_theme.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/common/static/instance_theme.css b/lib/common/static/instance_theme.css index 32f1284..6b45016 100644 --- a/lib/common/static/instance_theme.css +++ b/lib/common/static/instance_theme.css @@ -2529,12 +2529,13 @@ html[data-theme="light"] .journal-detail-img-thumb { grid-auto-rows: auto; gap: 10px; margin-top: 10px; - align-items: start; + align-items: stretch; } .risk-policy-page .settings-subcard { - height: auto; - align-self: start; + height: 100%; + display: flex; + flex-direction: column; padding: 10px 12px; min-width: 0; margin: 0;