fix(ui): shrink badges, card_number format XX-1234567, date-only fields

This commit is contained in:
2026-07-05 16:26:22 +08:00
parent 4ad37a71f7
commit e66515ce72
4 changed files with 18 additions and 12 deletions

View File

@@ -39,7 +39,7 @@ a:hover { text-decoration: underline; }
/* Forms */
label { display: block; margin-top: 1rem; font-size: .85rem; font-weight: 500; color: var(--text-muted); }
input[type="text"], input[type="password"], input[type="datetime-local"], select, textarea {
input[type="text"], input[type="password"], input[type="datetime-local"], input[type="date"], select, textarea {
width: 100%; padding: .5rem .75rem; margin-top: .25rem; border: 1px solid var(--border); border-radius: 6px; font-size: .95rem; background: #fff;
}
input:focus, select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
@@ -93,7 +93,7 @@ code { background: var(--bg); padding: .15rem .4rem; border-radius: 4px; font-si
.postcard-info { display: flex; flex-direction: column; gap: .25rem; font-size: .9rem; }
/* Badge */
.badge { display: inline-block; padding: .2rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 600; color: #fff; }
.badge { display: inline-block; padding: .15rem .45rem; border-radius: 999px; font-size: .7rem; font-weight: 600; color: #fff; white-space: nowrap; }
.badge-sent { background: var(--sent); }
.badge-delivered { background: var(--delivered); }
.badge-received { background: var(--received); }