@@ -42,10 +42,10 @@ exports.initialize = function () {
42
42
if ( sbWidth > 0 ) {
43
43
$ ( ".header" ) . css ( "left" , "-" + sbWidth + "px" ) ;
44
44
$ ( ".header-main" ) . css ( "left" , sbWidth + "px" ) ;
45
- $ ( ".header-main .column-middle" ) . css ( "margin-right" , 250 + sbWidth + "px" ) ;
45
+ $ ( ".header-main .column-middle" ) . css ( "margin-right" , 7 + sbWidth + "px" ) ;
46
46
47
47
$ ( ".fixed-app" ) . css ( "left" , "-" + sbWidth + "px" ) ;
48
- $ ( ".fixed-app .column-middle" ) . css ( "margin-left" , 250 + sbWidth + "px" ) ;
48
+ $ ( ".fixed-app .column-middle" ) . css ( "margin-left" , 7 + sbWidth + "px" ) ;
49
49
50
50
$ ( ".column-right" ) . css ( "right" , sbWidth + "px" ) ;
51
51
$ ( ".app-main .right-sidebar" ) . css ( {
@@ -54,19 +54,19 @@ exports.initialize = function () {
54
54
} ) ;
55
55
56
56
$ ( "#compose" ) . css ( "left" , "-" + sbWidth + "px" ) ;
57
- $ ( ".compose-content" ) . css ( { left : sbWidth + "px" , "margin-right" : 250 + sbWidth + "px" } ) ;
57
+ $ ( ".compose-content" ) . css ( { left : sbWidth + "px" , "margin-right" : 7 + sbWidth + "px" } ) ;
58
58
$ ( "#keyboard-icon" ) . css ( { right : sbWidth + 35 + "px" } ) ;
59
59
60
60
$ ( "head" ) . append (
61
- "<style> @media (max -width: " +
62
- media_breakpoints . xl_max +
61
+ "<style> @media (min -width: " +
62
+ media_breakpoints . xl_min +
63
63
") { .compose-content, .header-main .column-middle { margin-right: " +
64
- ( 7 + sbWidth ) +
64
+ ( 250 + sbWidth ) +
65
65
"px !important; } } " +
66
- "@media (max -width: " +
67
- media_breakpoints . md_max +
66
+ "@media (min -width: " +
67
+ media_breakpoints . md_min +
68
68
") { .fixed-app .column-middle { margin-left: " +
69
- ( 7 + sbWidth ) +
69
+ ( 250 + sbWidth ) +
70
70
"px !important; } } " +
71
71
"</style>" ,
72
72
) ;
0 commit comments