Skip to content

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

address doublescroll #3028 (#3035)

gingervitisc682a2b27f5e
diff --git a/web/components/layouts/Main/Main.module.scss b/web/components/layouts/Main/Main.module.scss
index 3a304ae2f6..1187dbc59b 100644
--- a/web/components/layouts/Main/Main.module.scss
+++ b/web/components/layouts/Main/Main.module.scss
@@ -4,7 +4,8 @@
// this margin is for fixed header
padding-top: var(--header-height);
background-color: var(--theme-color-main-background);
- min-height: 100vh;
+ min-height: 100dvh;
+
position: relative;
// add some spacing between the last row of content and the footer
diff --git a/web/components/ui/Content/Content.module.scss b/web/components/ui/Content/Content.module.scss
index d4f1645df8..e4912e5c79 100644
--- a/web/components/ui/Content/Content.module.scss
+++ b/web/components/ui/Content/Content.module.scss
@@ -20,6 +20,12 @@
&.online {
position: absolute;
top: calc(var(--player-container-height) + var(--status-bar-height) + var(--header-height));
+
+ // As we want content in the tabs to scroll within itself, force the tabs to display max height at all times.
+ // (We don't have to do this when not-online because we're having the entire layout scroll.
+ :global(.ant-tabs-content) {
+ height: 100% !important;
+ }
}
}
@@ -55,7 +61,7 @@
position: absolute;
top: 4px;
right: 10px;
- z-index: 200;
+ z-index: 199;
}
}
diff --git a/web/styles/ant-overrides.scss b/web/styles/ant-overrides.scss
index da78c61ef5..99ef492330 100644
--- a/web/styles/ant-overrides.scss
+++ b/web/styles/ant-overrides.scss
@@ -162,7 +162,6 @@ DROPDOWN
height: 100%;
}
.ant-tabs-content {
- height: 100% !important;
overflow: auto;
.ant-tabs-tabpane-active {
height: 100%;