From 6af99f36f2996641e83224965766ca94fedb25e2 Mon Sep 17 00:00:00 2001 From: Zichao Lin Date: Mon, 6 Jul 2026 08:15:08 +0800 Subject: [PATCH] fix(admin-invites): unify button height/size, fit-content width for create button --- app/static/style.css | 2 +- app/templates/admin_invites.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/static/style.css b/app/static/style.css index e182cd9..8c6bcdd 100644 --- a/app/static/style.css +++ b/app/static/style.css @@ -65,7 +65,7 @@ input[type="text"] + label, input[type="password"] + label, input[type="datetime .btn-primary:hover { background: var(--primary-hover); } .btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); } .btn-danger:hover { background: var(--danger-hover); } -.btn-sm { padding: .25rem .6rem; font-size: .8rem; } +.btn-sm { padding: .35rem .75rem; font-size: .85rem; height: 2rem; } /* Alert */ .alert { padding: .75rem 1rem; border-radius: 6px; margin-bottom: 1rem; font-size: .9rem; } diff --git a/app/templates/admin_invites.html b/app/templates/admin_invites.html index b5fb1f2..d60d857 100644 --- a/app/templates/admin_invites.html +++ b/app/templates/admin_invites.html @@ -37,7 +37,7 @@
- +