Some admin related appearance tweaks. For working on #1904

This commit is contained in:
Gabe Kangas
2022-12-16 17:34:51 -08:00
parent 4d2e93cc30
commit aa5d5fc32d
5 changed files with 22 additions and 2 deletions

View File

@@ -72,6 +72,7 @@ export const BanUserButton: FC<BanUserButtonProps> = ({ user, isEnabled, label,
return (
<Button
type="primary"
onClick={confirmBlockAction}
size="small"
icon={isEnabled ? <StopTwoTone twoToneColor="#ff4d4f" /> : null}

View File

@@ -217,7 +217,6 @@ export const MainLayout: FC<MainLayoutProps> = ({ children }) => {
key: 'viewer-info',
},
!chatDisabled && {
key: 'chat-config',
label: <Link href="/admin/viewer-info">Chat &amp; Users</Link>,
icon: <MessageOutlined />,
children: chatMenu,

View File

@@ -75,6 +75,7 @@ export const ModeratorUserButton: FC<ModeratorUserButtonProps> = ({ user, onClic
return (
<Button
type="primary"
onClick={confirmBlockAction}
size="small"
icon={