Browse Source

Update sidebar styling and chat always being highlighted. Closes #2651

pull/2709/head
Gabe Kangas 2 years ago
parent
commit
10400e1252
No known key found for this signature in database
GPG Key ID: 4345B2060657F330
  1. 2
      web/components/admin/MainLayout.tsx
  2. 3
      web/public/styles/admin/main-layout.css

2
web/components/admin/MainLayout.tsx

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

3
web/public/styles/admin/main-layout.css

@ -12,6 +12,9 @@ @@ -12,6 +12,9 @@
background-color: unset;
color: var(--theme-color-components-text-on-dark);
}
.app-container .menu-container .ant-menu-item-selected:not(.ant-menu-item-only-child), .ant-menu-item a:hover, .ant-menu-item a::before {
color: var(--theme-color-palette-12);
}
.app-container h1.owncast-title {
padding: 1rem;
padding-bottom: 4px;

Loading…
Cancel
Save