Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Some admin related appearance tweaks. For working on #1904

Gabe Kangas1ddc6d3c6b45
diff --git a/web/components/BanUserButton.tsx b/web/components/BanUserButton.tsx
index de6345c5ca..cc00efb9b9 100644
--- a/web/components/BanUserButton.tsx
+++ b/web/components/BanUserButton.tsx
@@ -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}
diff --git a/web/components/MainLayout.tsx b/web/components/MainLayout.tsx
index e1d799ca8c..57b12bdc65 100644
--- a/web/components/MainLayout.tsx
+++ b/web/components/MainLayout.tsx
@@ -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,
diff --git a/web/components/ModeratorUserButton.tsx b/web/components/ModeratorUserButton.tsx
index 4304b5ffcd..97bc5689a8 100644
--- a/web/components/ModeratorUserButton.tsx
+++ b/web/components/ModeratorUserButton.tsx
@@ -75,6 +75,7 @@ export const ModeratorUserButton: FC<ModeratorUserButtonProps> = ({ user, onClic
return (
<Button
+ type="primary"
onClick={confirmBlockAction}
size="small"
icon={
diff --git a/web/public/styles/admin/main-layout.css b/web/public/styles/admin/main-layout.css
index f74e7842f5..a4e12ffadc 100644
--- a/web/public/styles/admin/main-layout.css
+++ b/web/public/styles/admin/main-layout.css
@@ -128,3 +128,7 @@
margin-left: 0.5em;
line-height: 1;
}
+
+.ant-select:not(.ant-select-customize-input) .ant-select-selector {
+ background-color: var(--theme-color-components-form-field-background);
+}
diff --git a/web/styles/ant-overrides.scss b/web/styles/ant-overrides.scss
index d2d792d886..fbddc06083 100644
--- a/web/styles/ant-overrides.scss
+++ b/web/styles/ant-overrides.scss
@@ -26,7 +26,7 @@ BUTTONS
color: currentColor;
border-width: 2px;
border-color: transparent;
- border-radius: 0.15rem;
+ border-radius: var(--theme-rounded-corners);
background-color: rgba(0, 0, 0, 0.1);
&:hover,
&:focus {
@@ -195,3 +195,18 @@ DROPDOWN
.ant-modal-close:hover {
color: var(--theme-color-components-modal-header-text);
}
+
+.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
+ background-color: unset;
+}
+
+td.ant-table-column-sort,
+.ant-table-thead th.ant-table-column-sort {
+ background-color: unset;
+}
+
+th {
+ color: var(--theme-color-components-modal-header-text);
+ font-family: var(--theme-text-display-font-family);
+ font-weight: 700 !important;
+}