Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
small fixes on chat behaviour
t1enneebecacd9faac
diff --git a/web/components/chat/ChatUserMessage/ChatUserMessage.module.scss b/web/components/chat/ChatUserMessage/ChatUserMessage.module.scssindex 0d2fe8fb45..a6c16bb46d 100644--- a/web/components/chat/ChatUserMessage/ChatUserMessage.module.scss+++ b/web/components/chat/ChatUserMessage/ChatUserMessage.module.scss@@ -3,25 +3,13 @@font-size: 0.9rem;padding: 5px 15px 5px 5px;padding-left: 1rem;- .background {- position: absolute;- z-index: -1;- top: 0px;- left: 0px;- width: 100%;- height: 100%;- background-color: currentColor;- opacity: 0.07;- border-radius: .25rem;- overflow: hidden;- }.user {display: flex;align-items: center;font-family: var(--theme-header-font-family);font-weight: bold;.userName {- margin-left: .3rem;+ margin-left: 0.3rem;}}.message {@@ -66,13 +54,25 @@.customBorder {left: auto;right: 0px;+ opacity: .85;&:after {left: 0px;}}+ .background {+ position: absolute;+ z-index: -1;+ top: 0px;+ left: 0px;+ width: 100%;+ height: 100%;+ background-color: currentColor;+ opacity: 0.07;+ border-radius: 0.25rem;+ overflow: hidden;+ }}-.modMenuWrapper {position: absolute;display: none;@@ -88,5 +88,3 @@display: block;}}--diff --git a/web/components/chat/ChatUserMessage/ChatUserMessage.tsx b/web/components/chat/ChatUserMessage/ChatUserMessage.tsxindex d2f784c606..e8136e91be 100644--- a/web/components/chat/ChatUserMessage/ChatUserMessage.tsx+++ b/web/components/chat/ChatUserMessage/ChatUserMessage.tsx@@ -47,7 +47,7 @@ export default function ChatUserMessage({>{!sameUserAsLast && (<div className={s.user} style={{ color }}>- <ModIcon />+ {showModeratorMenu && <ModIcon />}<span className={s.userName}>{displayName}</span></div>)}diff --git a/web/components/ui/ModIcon.tsx b/web/components/ui/ModIcon.tsxindex 2cacd2d3e2..204e6b19a8 100644--- a/web/components/ui/ModIcon.tsx+++ b/web/components/ui/ModIcon.tsx@@ -1,8 +1,15 @@+import { CSSProperties } from 'react';++interface Props {+ style: CSSProperties;+ fill: string;+ stroke: string;+}export default function ModIcon({style = { width: '1rem', height: '1rem' },fill = 'none',stroke = 'var(--color-owncast-gray-300)',-}) {+}: Props) {return (<svgfill={fill}