Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
portico_css: Keep targeted elements below menu bar.
Karl Stolleyf1db7c1d72a8
diff --git a/web/styles/portico/landing_page.css b/web/styles/portico/landing_page.cssindex 2809de8da9b..f1fe75a055b 100644--- a/web/styles/portico/landing_page.css+++ b/web/styles/portico/landing_page.css@@ -222,6 +222,23 @@ button {&.show {opacity: 1;}++ &.why-page,+ &.case-studies-page {+ .padded-content {+ padding-top: 0; /* No padded content on portico why and case-studies pages... */+ }++ .inner-content {+ padding-top: 50px; /* ...instead, pad inner content to aid with proper scroll positions on URL fragments. */+ }+ }++ :target {+ /* Keep elements targeted by URL fragments visible below the+ floating top menu; coordinate the value here with the menu's height. */+ scroll-margin-top: 60px;+ }}.portico-landing.features-app {@@ -2044,7 +2061,7 @@ button {.portico-landing.why-page .photo-description {position: relative;- top: -40px;+ top: 10px; /* Place in padding gap below photo */height: 0;font-size: 0.8em;