From f0867935ac6423a35bbadc63e46ae154b915cb59 Mon Sep 17 00:00:00 2001 From: lezi-fun <177434121+lezi-fun@users.noreply.github.com> Date: Tue, 11 Aug 2026 20:34:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20mobile=20narrow=20=E2=80=94=20post=20act?= =?UTF-8?q?ion=20buttons=20wrap=20to=20own=20row?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @media (max-width:640px): .post-header flex-wrap; .post-detail-controls full-width right-aligned row (no more icon/text split across lines). --- app/globals.css | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/app/globals.css b/app/globals.css index be60a35..740c11e 100644 --- a/app/globals.css +++ b/app/globals.css @@ -3052,3 +3052,21 @@ a.btn-secondary { .replies-toggle.open .chev { transform: rotate(180deg); } + +/* ===== 窄屏:帖子操作按钮整行换行(避免图标/文字拆行) ===== */ +@media (max-width: 640px) { + .post-header { + flex-wrap: wrap; + } + .post-detail-controls { + margin-left: 0; + width: 100%; + justify-content: flex-end; + flex-wrap: wrap; + } + .post-detail-controls .btn-sm { + padding: 4px 8px; + font-size: 12px; + white-space: nowrap; + } +}