mirror of
https://github.com/hansjone/dsh-im-ops.git
synced 2026-10-11 08:10:50 +08:00
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:
parent
43f082d2e3
commit
a59a09e0d2
5 changed files with 45 additions and 25 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue