Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

viewport: Set dynamic min-height on critical app containers.

Karl Stolley6f65e2f30db8
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 392476a7f6e..b04bbc4f457 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -384,7 +384,7 @@ p.n-margin {
.app {
min-width: 100%;
- min-height: 100%;
+ min-height: var(--full-height-dynamic-viewport);
z-index: 99;
}
@@ -596,7 +596,7 @@ body.has-overlay-scrollbar {
.app-main {
height: 100%;
- min-height: 100%;
+ min-height: var(--full-height-dynamic-viewport);
&::after {
/* We use `content` values to determine
@@ -624,7 +624,7 @@ body.has-overlay-scrollbar {
}
.column-middle {
- min-height: 100%;
+ min-height: var(--full-height-dynamic-viewport);
/* We need `overflow-y: visible` for sticky headers to work. */
}
}