mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 01:16:19 +00:00
Miscellaneous style fixes for narrow window mode
(imported from commit f0a33be1640b2cb8810a0e7af52f453421cf0fe4)
This commit is contained in:
@@ -1902,11 +1902,15 @@ $(function () {
|
||||
$(".fixed-app .app-main").css("max-width", (1400 + sbWidth) + "px");
|
||||
$(".fixed-app .column-middle").css("margin-left", (250 + sbWidth) + "px");
|
||||
|
||||
$(".column-right").css("right", sbWidth + "px");
|
||||
$(".app-main .right-sidebar").css("padding-left", (10 + sbWidth) + "px");
|
||||
|
||||
$("#compose").css("left", "-" + sbWidth + "px");
|
||||
$(".compose-content").css({"left": sbWidth + "px",
|
||||
"margin-right": (250 + sbWidth) + "px"});
|
||||
$("#compose-container").css("max-width", (1400 + sbWidth) + "px");
|
||||
|
||||
$("head").append("<style> @media (max-width: 975px) { .compose-content, .header-main .column-middle { margin-right: " + sbWidth + "px !important; } } </style>");
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user