fix(web): widen user status switch to fit labels
This commit is contained in:
1 parent
08048c7151
commit
c48d76f13d
1 file changed
+3
-2
@@ -39,11 +39,12 @@ export const UsersTable = memo(function UsersTable({
|
||||
{
|
||||
title: t('Status'),
|
||||
dataIndex: 'disabled',
|
||||
width: 100,
|
||||
width: 120,
|
||||
render: (disabled: boolean, rec: UserInfo) => (
|
||||
<Switch
|
||||
checked={!disabled}
|
||||
size="small"
|
||||
size="default"
|
||||
style={{ minWidth: 80 }}
|
||||
loading={loading}
|
||||
onChange={(checked) => onToggleDisabled(rec, !checked)}
|
||||
checkedChildren={t('Active')}
|
||||
|
||||
Reference in new issue
Block a user