From 135403291468b5a9e1349d7967bb2e9fd092659f Mon Sep 17 00:00:00 2001 From: Zichao Lin Date: Mon, 6 Jul 2026 08:18:51 +0800 Subject: [PATCH] fix(admin-invites): add margin-top to create button, align save/delete buttons bottom with select via invisible label --- app/static/style.css | 2 +- app/templates/admin_invites.html | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/app/static/style.css b/app/static/style.css index 0bf7066..b5c36d7 100644 --- a/app/static/style.css +++ b/app/static/style.css @@ -296,7 +296,7 @@ code { background: var(--bg); padding: .15rem .4rem; border-radius: 4px; font-si .aif-input:focus, .aif-select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.1); } .aif-short { width: 80px; } .aif-date { width: 180px; } -.aif-btn-wrap { flex-direction: row; align-items: flex-end; gap: .4rem; padding-bottom: 1px; } +.aif-btn-wrap { flex-direction: row; align-items: center; gap: .4rem; } .aif-btn { height: 2rem; } .aif-edit-num, .aif-edit-date { flex-direction: row; align-items: center; gap: .35rem; } .aif-edit-num .aif-input, .aif-edit-date .aif-input { width: 80px; flex: none; } diff --git a/app/templates/admin_invites.html b/app/templates/admin_invites.html index fab81aa..33383ea 100644 --- a/app/templates/admin_invites.html +++ b/app/templates/admin_invites.html @@ -15,7 +15,7 @@

创建邀请码

-
+
@@ -36,7 +36,7 @@
-
+
@@ -77,8 +77,11 @@
- - + +
+ + +