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.

portico header: Remove nonsense _full-height-no-scroll code.

Anders Kaseorg34c465e47585
diff --git a/web/src/portico/header.ts b/web/src/portico/header.ts
index a933866baff..eeb06f9d164 100644
--- a/web/src/portico/header.ts
+++ b/web/src/portico/header.ts
@@ -86,14 +86,6 @@ $(() => {
}
});
- $("body").on("click", ".top-menu-mobile", (e) => {
- if (e.target.open) {
- document.body.classList.add("_full-height-no-scroll");
- } else {
- document.body.classList.remove("_full-height-no-scroll");
- }
- });
-
/* Used by navbar of non-corporate URLs. */
$(".portico-header li.logout").on("click", () => {
$("#logout_form").trigger("submit");
diff --git a/web/styles/portico/hello.css b/web/styles/portico/hello.css
index e7a7648a0d3..ccf3bb1475e 100644
--- a/web/styles/portico/hello.css
+++ b/web/styles/portico/hello.css
@@ -67,11 +67,6 @@ ul {
}
.portico-hello-page {
- ._full-height-no-scroll {
- height: 100%;
- overflow: hidden;
- }
-
& details summary::marker,
& details summary::-webkit-details-marker {
display: none;