From b48097469e47d5f777a836278c378441494b1b9b Mon Sep 17 00:00:00 2001 From: wangjia <809946525@qq.com> Date: Mon, 13 Jul 2026 12:39:01 +0800 Subject: [PATCH] =?UTF-8?q?fix(website):=20=E8=90=BD=E5=9C=B0=E9=A1=B5/?= =?UTF-8?q?=E6=B3=A8=E5=86=8C=E9=A1=B5=E6=A0=87=E9=A2=98=E9=98=B2=E5=AD=A4?= =?UTF-8?q?=E5=AD=97=E6=8A=98=E8=A1=8C(text-wrap:balance=20+=20=E5=AD=97?= =?UTF-8?q?=E5=8F=B7=E6=94=B6=E6=A1=A3)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.8 (1M context) --- web/website/src/styles/site-extra.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/web/website/src/styles/site-extra.css b/web/website/src/styles/site-extra.css index 4020b43..c113b7b 100644 --- a/web/website/src/styles/site-extra.css +++ b/web/website/src/styles/site-extra.css @@ -217,6 +217,9 @@ .invite-hero { margin-top: 8px; max-width: 440px; + /* 长标题窄卡易出孤字折行(「…穿山甲/甲」):字号收一档 + balance 均衡断行 */ + font-size: clamp(24px, 4.6vw, 30px); + text-wrap: balance; } .invite-code-box { width: 100%; @@ -366,6 +369,9 @@ .register-hero { margin-top: 8px; max-width: 420px; + /* 同 .invite-hero:防「…3 天/天」孤字折行 */ + font-size: clamp(24px, 4.6vw, 30px); + text-wrap: balance; } .register-form { width: 100%;