Skip to content

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

fix(embed): fix post-pr #2863 merge offline banner text color

Gabe Kangasb3a30f818dc9
diff --git a/web/components/ui/Content/Content.module.scss b/web/components/ui/Content/Content.module.scss
index 1ce8ff1016..92c61c60d2 100644
--- a/web/components/ui/Content/Content.module.scss
+++ b/web/components/ui/Content/Content.module.scss
@@ -1,18 +1,18 @@
@import '../../../styles/mixins.scss';
- .lowerSection {
- padding: var(--content-padding);
- }
+.lowerSection {
+ padding: var(--content-padding);
+}
- .lowerSectionMobile {
- display: flex;
- flex-direction: column;
- flex-grow: 1;
- flex-shrink: 0;
- padding: 0.3em;
- position: absolute;
- bottom: 0;
- width: 100%;
+.lowerSectionMobile {
+ display: flex;
+ flex-direction: column;
+ flex-grow: 1;
+ flex-shrink: 0;
+ padding: 0.3em;
+ position: absolute;
+ bottom: 0;
+ width: 100%;
@include screen(tablet) {
//sets the position of tabbed content for online mode
@@ -21,14 +21,13 @@
@include screen(mobile) {
//sets the position of tabbed content for online mode
- top: 280px;
- }
-
+ top: 280px;
}
+}
.mobileNoTabs {
padding-top: 20px;
-}
+}
.topSectionElement {
background-color: var(--theme-color-components-video-background);
@@ -76,3 +75,6 @@
margin-top: unset;
}
}
+.offlineBanner {
+ color: var(--theme-color-background-main);
+}
diff --git a/web/components/ui/Content/Content.tsx b/web/components/ui/Content/Content.tsx
index ef2dc4f4d4..802109c823 100644
--- a/web/components/ui/Content/Content.tsx
+++ b/web/components/ui/Content/Content.tsx
@@ -210,7 +210,7 @@ export const Content: FC = () => {
lastLive={lastDisconnectTime}
onNotifyClick={() => setShowNotifyModal(true)}
onFollowClick={() => setShowFollowModal(true)}
- className={styles.topSectionElement}
+ className={classnames([styles.topSectionElement, styles.offlineBanner])}
/>
</div>
)}
diff --git a/web/components/ui/OfflineBanner/OfflineBanner.module.scss b/web/components/ui/OfflineBanner/OfflineBanner.module.scss
index f71d7bd827..ddc82a381e 100644
--- a/web/components/ui/OfflineBanner/OfflineBanner.module.scss
+++ b/web/components/ui/OfflineBanner/OfflineBanner.module.scss
@@ -6,10 +6,10 @@
align-items: center;
@include screen(tablet) {
- height: 430px;
+ height: 430px;
}
- @include screen (mobile) {
+ @include screen(mobile) {
height: 280px;
}
}
@@ -20,7 +20,6 @@
flex-direction: column;
margin: 3rem auto;
padding: 2.4em;
- color: var(--color-owncast-palette-3);
@include screen(tablet) {
font-size: 1.2rem;