Miscellaneous style fixes for narrow window mode

(imported from commit f0a33be1640b2cb8810a0e7af52f453421cf0fe4)
This commit is contained in:
Allen Rabinovich
2014-02-18 11:34:18 -07:00
parent b00ebd1bdf
commit d0572f50fb
2 changed files with 14 additions and 5 deletions

View File

@@ -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>");
}
});