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.

resize: Update buddy list height when resizing streams list.

Aman Agrawalb6a981939573
diff --git a/static/js/resize.js b/static/js/resize.js
index 9958e0bfebf..250f357a53f 100644
--- a/static/js/resize.js
+++ b/static/js/resize.js
@@ -211,6 +211,9 @@ export function resize_stream_filters_container(h) {
h = narrow_window ? left_userlist_get_new_heights() : get_new_heights();
resize_bottom_whitespace(h);
$("#left_sidebar_scroll_container").css("max-height", h.stream_filters_max_height);
+ if (user_settings.left_side_userlist) {
+ $("#buddy_list_wrapper").css("max-height", h.buddy_list_wrapper_max_height);
+ }
}
export function resize_sidebars() {