fix: narrow screen compact reply buttons
Media query (max-width:480px): reply-header flex-wrap, smaller btn padding/ font-size, prevent overflow beyond card border.
This commit is contained in:
1 parent
56912d28d6
commit
f3586ef2aa
1 file changed
+18
@@ -3170,3 +3170,21 @@ a.btn-secondary {
|
||||
.post-detail-card {
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user