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_alerts: Adjust height of recent topics when alert is visible.

Aman Agrawal2df4ace441b4
diff --git a/static/js/navbar_alerts.js b/static/js/navbar_alerts.js
index 4da07ca95e6..85577921f5d 100644
--- a/static/js/navbar_alerts.js
+++ b/static/js/navbar_alerts.js
@@ -23,6 +23,7 @@ import * as util from "./util";
export function resize_app() {
const navbar_alerts_wrapper_height = $("#navbar_alerts_wrapper").height();
$("body > .app").height("calc(100% - " + navbar_alerts_wrapper_height + "px)");
+ $(".recent_topics_container").height("calc(100vh - " + navbar_alerts_wrapper_height + "px)");
// the floating recipient bar is usually positioned right below
// the `.header` element (including padding).