From 41aa2058bc92b919a193a80df463f93198e3e09b Mon Sep 17 00:00:00 2001 From: Zichao Lin Date: Sun, 5 Jul 2026 23:09:47 +0800 Subject: [PATCH] fix(ui): vertically center all badges --- app/static/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/static/style.css b/app/static/style.css index a0d0368..71e9480 100644 --- a/app/static/style.css +++ b/app/static/style.css @@ -118,7 +118,7 @@ code { background: var(--bg); padding: .15rem .4rem; border-radius: 4px; font-si .postcard-info { display: flex; flex-direction: column; gap: .15rem; font-size: .9rem; } /* Badge */ -.badge { display: inline-block; padding: .1rem .4rem; border-radius: 999px; font-size: .7rem; font-weight: 600; color: #fff; white-space: nowrap; line-height: 1.4; align-self: flex-start; } +.badge { display: inline-block; padding: .1rem .4rem; border-radius: 999px; font-size: .7rem; font-weight: 600; color: #fff; white-space: nowrap; line-height: 1.4; align-self: center; } .badge-sent { background: var(--sent); } .badge-delivered { background: var(--delivered); } .badge-received { background: var(--received); }