From f0a4e704ead7a14258c9db5d78a68eb957447125 Mon Sep 17 00:00:00 2001 From: Zichao Lin Date: Mon, 6 Jul 2026 08:21:54 +0800 Subject: [PATCH] fix(admin-invites): create card uses form-card style, align save/delete with select via align-self flex-end --- app/static/style.css | 2 +- app/templates/admin_invites.html | 43 +++++++++++++++----------------- 2 files changed, 21 insertions(+), 24 deletions(-) diff --git a/app/static/style.css b/app/static/style.css index b5c36d7..0b5be45 100644 --- a/app/static/style.css +++ b/app/static/style.css @@ -289,7 +289,7 @@ code { background: var(--bg); padding: .15rem .4rem; border-radius: 4px; font-si /* Admin invite form */ .admin-invite-form { display: flex; flex-wrap: wrap; gap: .5rem; align-items: flex-start; } .aif-row { display: flex; flex-direction: column; gap: .3rem; } -.aif-field { display: flex; flex-direction: column; gap: .15rem; justify-content: flex-end; } +.aif-field { display: flex; flex-direction: column; gap: .15rem; } .aif-grow { flex: 1 1 200px; min-width: 0; } .aif-label { font-size: .8rem; color: var(--text-muted); line-height: 1.2; } .aif-input, .aif-select { width: 100%; padding: .45rem .65rem; border: 1px solid var(--border); border-radius: 6px; font-size: .9rem; background: #fff; line-height: 1.3; } diff --git a/app/templates/admin_invites.html b/app/templates/admin_invites.html index 2d5d6a4..9dd1377 100644 --- a/app/templates/admin_invites.html +++ b/app/templates/admin_invites.html @@ -13,31 +13,31 @@ {% endif %} -
-

创建邀请码

-
-
- - +
+

创建邀请码

+ +
+ +
-
- -
-