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).
This commit is contained in:
1 parent
32fc3cb599
commit
b18cd05455
1 file changed
+7
-1
+7
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user