Browse Source

Tweak offline tag color and cursor

pull/2723/head
Gabe Kangas 2 years ago
parent
commit
070a9fa675
No known key found for this signature in database
GPG Key ID: 4345B2060657F330
  1. 5
      web/components/ui/Header/Header.module.scss
  2. 2
      web/components/ui/Header/Header.tsx

5
web/components/ui/Header/Header.module.scss

@ -64,3 +64,8 @@
width: auto; width: auto;
height: auto; height: auto;
} }
.offlineTag {
cursor: default;
color: var(--theme-color-components-text-on-light);
}

2
web/components/ui/Header/Header.tsx

@ -55,7 +55,7 @@ export const Header: FC<HeaderComponentProps> = ({
{chatAvailable && !chatDisabled && <UserDropdown />} {chatAvailable && !chatDisabled && <UserDropdown />}
{!chatAvailable && !chatDisabled && ( {!chatAvailable && !chatDisabled && (
<Tooltip title="Chat is available when the stream is live." placement="left"> <Tooltip title="Chat is available when the stream is live." placement="left">
<Tag style={{ cursor: 'pointer' }}>Chat offline</Tag> <Tag className={styles.offlineTag}>Chat offline</Tag>
</Tooltip> </Tooltip>
)} )}
</header> </header>

Loading…
Cancel
Save