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.

navbar: Allow user to view case studies on short height screens.

Aman Agrawal1ae47562d9ff
diff --git a/web/styles/portico/navbar.css b/web/styles/portico/navbar.css
index 5847a8a04a2..ef8f712e998 100644
--- a/web/styles/portico/navbar.css
+++ b/web/styles/portico/navbar.css
@@ -265,11 +265,18 @@ details summary::-webkit-details-marker {
}
#case-studies-submenu {
- flex-wrap: wrap;
- width: 1000px;
-
- @media (width <= 1100px) {
- width: 600px;
+ width: 100vw;
+ position: fixed;
+ left: 0;
+ justify-content: center;
+
+ @media (width <= 1300px) {
+ flex-wrap: wrap;
+ place-content: baseline flex-start;
+ height: calc(100vh - var(--navbar-height));
+ overflow-y: auto;
+ width: 100vw;
+ padding-left: 10px;
}
}