From 32fc3cb59956f20e9f2defe2a5591ea9b41e2bde Mon Sep 17 00:00:00 2001 From: lezi-fun <177434121+lezi-fun@users.noreply.github.com> Date: Tue, 11 Aug 2026 21:47:39 +0800 Subject: [PATCH] fix: reply-header flex-wrap (natural wrap, no text split) Removed compact media query. reply-header gets flex-wrap: wrap so buttons wrap as whole units when width is insufficient (white-space:nowrap prevents text splitting). --- app/globals.css | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/app/globals.css b/app/globals.css index 2eaa195..fa875c7 100644 --- a/app/globals.css +++ b/app/globals.css @@ -1466,6 +1466,7 @@ 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; @@ -3171,20 +3172,4 @@ a.btn-secondary { border-radius: var(--radius); } -/* ===== 窄屏:回复按钮紧凑排列(防溢出边框) ===== */ -@media (max-width: 480px) { - .reply-header { - flex-wrap: wrap; - row-gap: 4px; - } - .reply-delete-btn { - padding: 2px 6px !important; - font-size: 11px !important; - } - .reply-btn { - padding: 2px 4px !important; - } - .reply-time { - font-size: 11px; - } -} +