fix(ui): stack upload form vertically on mobile to prevent button text cutoff

This commit is contained in:
2026-07-05 21:09:11 +08:00
parent c42d371e08
commit 4c348d6f04

View File

@@ -130,7 +130,7 @@ code { background: var(--bg); padding: .15rem .4rem; border-radius: 4px; font-si
.detail-img { width: 100%; max-width: 400px; border-radius: 8px; border: 1px solid var(--border); }
.detail-img.placeholder { display: flex; align-items: center; justify-content: center; height: 200px; background: var(--bg); color: var(--text-muted); font-size: .95rem; }
.upload-form { margin-top: .5rem; display: flex; gap: .5rem; align-items: center; }
.upload-form input[type="file"] { font-size: .85rem; min-width: 0; flex: 1; }
.upload-form input[type="file"] { font-size: .85rem; min-width: 0; max-width: 260px; }
.upload-form .btn { white-space: nowrap; flex-shrink: 0; }
.detail-meta dl { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; }
.detail-meta dt { font-weight: 600; font-size: .85rem; color: var(--text-muted); }
@@ -146,4 +146,6 @@ code { background: var(--bg); padding: .15rem .4rem; border-radius: 4px; font-si
@media (max-width: 640px) {
.detail-grid { grid-template-columns: 1fr; }
.card-grid { grid-template-columns: 1fr; }
.upload-form { flex-direction: column; align-items: stretch; }
.upload-form input[type="file"] { max-width: none; }
}