diff --git a/static/js/message_viewport.js b/static/js/message_viewport.js index 81c0d47eb5..295b299d81 100644 --- a/static/js/message_viewport.js +++ b/static/js/message_viewport.js @@ -250,9 +250,9 @@ exports.stop_auto_scrolling = function () { exports.is_narrow = function () { // This basically returns true when we hide the right sidebar for // the left_side_userlist skinny mode. It would be nice to have a less brittle - // test for this. See the "@media (max-width: 1025px)" section in - // zulip.css. - return window.innerWidth <= 1025; + // test for this. See the "@media (max-width: 1165px)" section in + // media.scss. + return window.innerWidth <= 1165; }; exports.system_initiated_animate_scroll = function (scroll_amount) { diff --git a/static/js/scroll_bar.js b/static/js/scroll_bar.js index e45227f7b6..4e8ae50eef 100644 --- a/static/js/scroll_bar.js +++ b/static/js/scroll_bar.js @@ -53,7 +53,7 @@ exports.initialize = function () { $("#compose-container").css("max-width", 1400 + sbWidth + "px"); $('#keyboard-icon').css({right: sbWidth + 13 + "px"}); - $("head").append(""); } diff --git a/static/styles/media.scss b/static/styles/media.scss index 383efdad26..0c8f712fdf 100644 --- a/static/styles/media.scss +++ b/static/styles/media.scss @@ -4,7 +4,7 @@ } /* This max-width must be synced with message_viewport.is_narrow */ -@media (max-width: 1025px) { +@media (max-width: 1165px) { .screen-full-show { display: none !important; } diff --git a/templates/zerver/help/move-the-users-list-to-the-left-sidebar.md b/templates/zerver/help/move-the-users-list-to-the-left-sidebar.md index c4e145a298..cebb847009 100644 --- a/templates/zerver/help/move-the-users-list-to-the-left-sidebar.md +++ b/templates/zerver/help/move-the-users-list-to-the-left-sidebar.md @@ -1,7 +1,7 @@ # Move the users list to the left sidebar By default, the **User list** is displayed in the right sidebar, to the -right of the main message pane. However, in narrower windows (1025 pixels and +right of the main message pane. However, in narrower windows (1165 pixels and smaller) the right sidebar is hidden to save space. You can choose to move the **User list** to the left hand side, under the