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.

blueslip: Fix blueslip overlay scroll bottom overflowing viewport.

Sayam Samalcdee23a3d931
diff --git a/web/styles/alerts.css b/web/styles/alerts.css
index 7a083fd211b..bafa7d9a39c 100644
--- a/web/styles/alerts.css
+++ b/web/styles/alerts.css
@@ -147,7 +147,9 @@
width: 100%;
max-width: 900px;
z-index: 230;
- max-height: 100%;
+ /* Subtract 5px to account for the bottom margin and another
+ 5px to account for the top. */
+ max-height: calc(100vh - 10px);
overflow-y: auto;
overscroll-behavior: contain;
/* Set top padding to account for the translate-y motion of the