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: Add scroll fade indicator to case studies dropdown.

Aman Agrawal18cacfb6e41b
diff --git a/web/styles/portico/navbar.css b/web/styles/portico/navbar.css
index ef8f712e998..28c930d00b2 100644
--- a/web/styles/portico/navbar.css
+++ b/web/styles/portico/navbar.css
@@ -278,6 +278,19 @@ details summary::-webkit-details-marker {
width: 100vw;
padding-left: 10px;
}
+
+ & > .top-menu-submenu-column:last-child {
+ /* Bottom padding provides space for the scroll fade
+ indicator so no content is obscured at end of scroll. */
+ padding-bottom: 50px;
+ }
+
+ /* Fade bottom edge to hint at scrollable content. */
+ mask-image: linear-gradient(
+ to bottom,
+ hsl(0deg 0% 0%) calc(100% - 50px),
+ transparent 100%
+ );
}
.top-menu-tab .top-menu-tab-user-label {