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).
This commit is contained in:
lezi-fun committed 2026-08-11 21:47:39 +08:00
1 parent f3586ef2aa
commit 32fc3cb599
1 file changed
+2 -17
+2 -17
View File
@@ -1466,6 +1466,7 @@ html.home-view-transition.returning-home::view-transition-new(post-body) {
align-items: center; align-items: center;
gap: 10px; gap: 10px;
margin-bottom: 6px; margin-bottom: 6px;
flex-wrap: wrap;
} }
.reply-avatar { .reply-avatar {
width: 28px; width: 28px;
@@ -3171,20 +3172,4 @@ a.btn-secondary {
border-radius: var(--radius); 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;
}
}