Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
portico: Hide header nav links on API/policies pages.
Karl Stolleycc8a237a789c
diff --git a/web/styles/portico/legacy_portico.css b/web/styles/portico/legacy_portico.cssindex cfd92315a83..b7feb6532cd 100644--- a/web/styles/portico/legacy_portico.css+++ b/web/styles/portico/legacy_portico.css@@ -57,6 +57,18 @@ html {z-index: 100;}+/* Hide the login and registration links on /api+ and /policies... */+.portico-container.help .top-links {+ visibility: hidden;+}++/* ...but continue to show the logged-in pill when+ a user is authenticated. */+.portico-container.help .top-links:has(.portico-header-dropdown) {+ visibility: visible;+}+.navbar.footer .nav {> li {line-height: 56px;