mirror of https://github.com/zulip/zulip.git
right sidebar: Change media cut-off for where we hide the buddy list.
This was last changed in 88951d6
from 975 to 1025, but I think that wasn't
quite aggressive enough.
This commit is contained in:
parent
7f16d27015
commit
5774300364
|
@ -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) {
|
||||
|
|
|
@ -53,7 +53,7 @@ exports.initialize = function () {
|
|||
$("#compose-container").css("max-width", 1400 + sbWidth + "px");
|
||||
$('#keyboard-icon').css({right: sbWidth + 13 + "px"});
|
||||
|
||||
$("head").append("<style> @media (max-width: 1025px) { .compose-content, .header-main .column-middle { margin-right: " + (7 + sbWidth) + "px !important; } } " +
|
||||
$("head").append("<style> @media (max-width: 1165px) { .compose-content, .header-main .column-middle { margin-right: " + (7 + sbWidth) + "px !important; } } " +
|
||||
"@media (max-width: 775px) { .fixed-app .column-middle { margin-left: " + (7 + sbWidth) + "px !important; } } " +
|
||||
"</style>");
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue