Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
fix(ui): fix dynamic padding not taking disabled chat state into account
Gabe Kangas67d518aaafe3
diff --git a/web/components/layouts/Main/Main.tsx b/web/components/layouts/Main/Main.tsxindex 4cbb327110..734f7d0ada 100644--- a/web/components/layouts/Main/Main.tsx+++ b/web/components/layouts/Main/Main.tsx@@ -59,7 +59,7 @@ export const Main: FC = () => {const { online, streamTitle, versionNumber: version } = clientStatus;// accounts for sidebar width when online in desktop- const dynamicPadding = online && !isMobile ? '320px' : '0px';+ const dynamicPadding = online && !chatDisabled && !isMobile ? '320px' : '0px';useEffect(() => {setupNoLinkReferrer(layoutRef.current);diff --git a/web/components/ui/Content/Content.tsx b/web/components/ui/Content/Content.tsxindex b7fc417394..71508f9274 100644--- a/web/components/ui/Content/Content.tsx+++ b/web/components/ui/Content/Content.tsx@@ -181,7 +181,7 @@ export const Content: FC = () => {const showChat = online && !chatDisabled && isChatVisible;// accounts for sidebar width when online in desktop- const dynamicPadding = online && !isMobile ? '320px' : '0px';+ const dynamicPadding = online && !chatDisabled && !isMobile ? '320px' : '0px';return (<>