From b18cd054551b254eca8161bd2ff17f829c1e3952 Mon Sep 17 00:00:00 2001 From: lezi-fun <177434121+lezi-fun@users.noreply.github.com> Date: Tue, 11 Aug 2026 22:00:52 +0800 Subject: [PATCH] fix: narrow-only reply-header wrap Remove global flex-wrap, add @media (max-width:480px) flex-wrap: wrap. Wide: one line. Narrow: flex-wrap naturally wraps buttons as whole units (white-space:nowrap prevents text split). --- app/globals.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/globals.css b/app/globals.css index fa875c7..ebbe058 100644 --- a/app/globals.css +++ b/app/globals.css @@ -1466,7 +1466,6 @@ html.home-view-transition.returning-home::view-transition-new(post-body) { align-items: center; gap: 10px; margin-bottom: 6px; - flex-wrap: wrap; } .reply-avatar { width: 28px; @@ -3173,3 +3172,10 @@ a.btn-secondary { } + +/* ===== 窄屏:回复操作按钮灵活换行 ===== */ +@media (max-width: 480px) { + .reply-header { + flex-wrap: wrap; + } +}