mirror of https://github.com/zulip/zulip.git
Don't let CUSTOMER7 share the love when in narrow mode.
I don't think share-the-love is turned on for CUSTOMER7 in the first place, but even if it is, we should hide it when they go into narrow mode, to make room for streams and users. (imported from commit 2e80eec0f2ddee06753f48248dca5ac4745db6f1)
This commit is contained in:
parent
6354b712fc
commit
f519fa907c
|
@ -417,7 +417,6 @@ function left_userlist_get_new_heights() {
|
|||
var viewport_width = viewport.width();
|
||||
var top_navbar_height = $(".header").outerHeight(true);
|
||||
var invite_user_link_height = $("#invite-user-link").outerHeight(true) || 0;
|
||||
var share_the_love_height = $("#share-the-love").is(":visible") ? $("#share-the-love").outerHeight(true) : 0;
|
||||
|
||||
var stream_filters = $('#stream_filters').expectOne();
|
||||
var user_presences = $('#user_presences').expectOne();
|
||||
|
@ -442,7 +441,6 @@ function left_userlist_get_new_heights() {
|
|||
- parseInt(user_presences.css("marginTop"), 10)
|
||||
- parseInt(user_presences.css("marginBottom"), 10)
|
||||
- invite_user_link_height
|
||||
- share_the_love_height
|
||||
- 15;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue