fix Semi UI account editor viewport
This commit is contained in:
@@ -352,7 +352,7 @@ export default function UsersPage() {
|
||||
<SideSheet
|
||||
className="v2-user-editor-sidesheet"
|
||||
visible={editorVisible}
|
||||
width={mobileLayout ? '100%' : 840}
|
||||
width={mobileLayout ? '100%' : 'min(840px, 100vw)'}
|
||||
aria-label="客户账号详情"
|
||||
title={<div className="v2-user-editor-sheet-title">
|
||||
<span><strong>{creating ? '创建客户账号' : selected?.displayName}</strong><small>{creating ? '设置登录身份和最小必要权限' : `@${selected?.username} · ${draft.menuKeys.length} 个菜单 · ${draft.vehicleGrants.length} 辆车 · 最近登录 ${formatTime(selected?.lastLoginAt)}`}</small></span>
|
||||
|
||||
Reference in New Issue
Block a user