Align access rows and theme native selects for dark mode (4.9.1-ops.14).

Use a shared three-column grid for admin/member rows, and inherit DSH color-scheme so channel/command dropdowns stay readable.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-09-05 18:04:25 +08:00
parent 43f082d2e3
commit a59a09e0d2
5 changed files with 45 additions and 25 deletions

View file

@ -285,13 +285,16 @@ function AdminPhones({
locked
? h('span', { className: 'dim-accessNickname' }, '绑定账号(全局管理员)')
: h(NicknameHint, { contacts, phone, shortEmpty: true })),
locked ? null : h('button', {
type: 'button',
className: 'dim-deliveryButton dim-accessCompactDelete',
'data-kind': 'danger',
disabled,
onClick: () => onChange(phones.filter((_, i) => i !== index)),
}, '删除'));
h('span', { className: 'dim-accessCompactSelectSlot', 'aria-hidden': 'true' }),
locked
? h('span', { className: 'dim-accessCompactDeleteSlot', 'aria-hidden': 'true' })
: h('button', {
type: 'button',
className: 'dim-deliveryButton dim-accessCompactDelete',
'data-kind': 'danger',
disabled,
onClick: () => onChange(phones.filter((_, i) => i !== index)),
}, '删除'));
})),
h('button', {
type: 'button',