diff --git a/app/static/style.css b/app/static/style.css index 0b5be45..ad44260 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: center; } +.badge { display: inline-block; padding: .1rem .4rem; border-radius: 999px; font-size: .7rem; font-weight: 600; color: #fff; background: var(--text-muted); 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); } diff --git a/app/templates/admin_invites.html b/app/templates/admin_invites.html index 6a06661..46aea33 100644 --- a/app/templates/admin_invites.html +++ b/app/templates/admin_invites.html @@ -61,10 +61,10 @@ {% else %} 永不过期 {% endif %} - {% if c.registered_users %} - 注册用户: {{ c.registered_users|map(attribute='username')|join(', ') }} - {% endif %} + {% if c.registered_users %} +
注册用户: {{ c.registered_users|map(attribute='username')|join(', ') }}
+ {% endif %}