fix(website): 落地页/注册页标题防孤字折行(text-wrap:balance + 字号收档)
ci-pangolin / Lint — shellcheck (pull_request) Successful in 13s
ci-pangolin / Redline Scan — 脱敏 (UI 文案) (pull_request) Successful in 25s
ci-pangolin / Cleartext Scan — Android 禁明文 (pull_request) Successful in 17s
ci-pangolin / OpenAPI Sync Check (pull_request) Successful in 37s
ci-pangolin / Portable SQL — 可移植性 (mysql/sqlite) (pull_request) Successful in 21s
ci-pangolin / Flutter — analyze + test (pull_request) Successful in 32s
ci-pangolin / Codegen Drift — token 生成物未漂移 (pull_request) Successful in 3s
ci-pangolin / DS-flow — 原型/跨端同源/代码色单源闸 (pull_request) Successful in 3s
ci-pangolin / Go — build + test (pull_request) Failing after 12s
ci-pangolin / E2E Smoke — L4 进程级端到端 (pull_request) Failing after 9s
ci-pangolin / Go — integration (mysql/redis testcontainers) (pull_request) Failing after 4m31s
ci-pangolin / Golden — 视觉回归 (全量:components/auth/desktop/tablet) (pull_request) Failing after 20s

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
wangjia
2026-07-13 12:39:01 +08:00
parent 94266804bc
commit b48097469e
+6
View File
@@ -217,6 +217,9 @@
.invite-hero { .invite-hero {
margin-top: 8px; margin-top: 8px;
max-width: 440px; max-width: 440px;
/* 长标题窄卡易出孤字折行(「…穿山甲/甲」):字号收一档 + balance 均衡断行 */
font-size: clamp(24px, 4.6vw, 30px);
text-wrap: balance;
} }
.invite-code-box { .invite-code-box {
width: 100%; width: 100%;
@@ -366,6 +369,9 @@
.register-hero { .register-hero {
margin-top: 8px; margin-top: 8px;
max-width: 420px; max-width: 420px;
/* 同 .invite-hero:防「…3 天/天」孤字折行 */
font-size: clamp(24px, 4.6vw, 30px);
text-wrap: balance;
} }
.register-form { .register-form {
width: 100%; width: 100%;