mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 09:27:43 +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>");
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
@@ -313,6 +313,11 @@ a:hover code {
|
||||
display: table-row;
|
||||
}
|
||||
|
||||
#left-sidebar #user-list,
|
||||
#left-sidebar #group-pm-list {
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.edit-profile {
|
||||
font-weight: 300;
|
||||
font-size: 12px;
|
||||
@@ -3833,9 +3838,6 @@ div.edit_bot {
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
.app .column-middle-inner {
|
||||
margin-right: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 775px) {
|
||||
@@ -3883,12 +3885,15 @@ div.edit_bot {
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
.column-middle-inner,
|
||||
.app-main .column-middle .column-middle-inner {
|
||||
.column-middle-inner {
|
||||
margin-left: 0px;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.app-main .column-middle .column-middle-inner {
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
.skinny-user-gravatar {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
|
||||
Reference in New Issue
Block a user