From 3cb286d088d37d9ba0ede1685e0837a66ceef8ee Mon Sep 17 00:00:00 2001 From: Zichao Lin Date: Sun, 5 Jul 2026 19:10:32 +0800 Subject: [PATCH] fix(ui): unify btn line-height for a and button elements --- 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 6e24b3a..7d440d3 100644 --- a/app/static/style.css +++ b/app/static/style.css @@ -59,7 +59,7 @@ input[type="text"] + label, input[type="password"] + label, input[type="datetime .nickname-edit input[type="text"] { width: 140px; flex: none; } /* Buttons */ -.btn { display: inline-flex; align-items: center; justify-content: center; padding: .5rem 1rem; border: 1px solid var(--border); border-radius: 6px; background: #fff; cursor: pointer; font-size: .9rem; text-align: center; white-space: nowrap; text-decoration: none; } +.btn { display: inline-flex; align-items: center; justify-content: center; padding: .5rem 1rem; border: 1px solid var(--border); border-radius: 6px; background: #fff; cursor: pointer; font-size: .9rem; text-align: center; white-space: nowrap; text-decoration: none; line-height: 1; } .btn:hover { background: var(--bg); text-decoration: none; } .btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); } .btn-primary:hover { background: var(--primary-hover); }