mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
Fix incorrect sidebar height, which makes you scroll past your messages.
(imported from commit 7244853c83ea884697f205ec5355403c5007d61e)
This commit is contained in:
@@ -246,7 +246,6 @@ function resizehandler(e) {
|
|||||||
var bottom_sidebar_height = viewport.height() - $("#top_navbar").height() - $(".upper_sidebar").height() - 40;
|
var bottom_sidebar_height = viewport.height() - $("#top_navbar").height() - $(".upper_sidebar").height() - 40;
|
||||||
$(".bottom_sidebar").height(bottom_sidebar_height);
|
$(".bottom_sidebar").height(bottom_sidebar_height);
|
||||||
var right_sidebar_height = viewport.height() - $("#top_navbar").height();
|
var right_sidebar_height = viewport.height() - $("#top_navbar").height();
|
||||||
$(".right_sidebar").height(right_sidebar_height);
|
|
||||||
|
|
||||||
$("#stream_filters").css('max-height', bottom_sidebar_height * 0.75);
|
$("#stream_filters").css('max-height', bottom_sidebar_height * 0.75);
|
||||||
$("#user_presences").css('max-height', right_sidebar_height * 0.90);
|
$("#user_presences").css('max-height', right_sidebar_height * 0.90);
|
||||||
|
|||||||
Reference in New Issue
Block a user