File tree 3 files changed +9
-3
lines changed
3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 48
48
</nav >
49
49
<!-- 左侧导航结束-->
50
50
<!-- 右侧部分开始-->
51
- <div id =" page-wrapper" class =" gray-bg dashbard-1" >
51
+ <div id =" page-wrapper" class =" gray-bg dashbard-1 page-wrapper " >
52
52
<div class =" row border-bottom" >
53
53
<nav class =" navbar navbar-static-top" role =" navigation" style =" margin-bottom : 0 " >
54
54
<div class =" navbar-header" >
Original file line number Diff line number Diff line change @@ -3526,7 +3526,7 @@ video {
3526
3526
padding : 20px ;
3527
3527
}
3528
3528
3529
- # page-wrapper {
3529
+ . page-wrapper {
3530
3530
padding : 0 15px ;
3531
3531
position : inherit;
3532
3532
margin : 0 0 0 220px ;
Original file line number Diff line number Diff line change @@ -131,6 +131,7 @@ function SmoothlyMenu() {
131
131
setTimeout (
132
132
function ( ) {
133
133
$ ( '#side-menu' ) . fadeIn ( 500 ) ;
134
+ $ ( '#page-wrapper' ) . attr ( 'style' , '' ) ;
134
135
} , 300 ) ;
135
136
} else {
136
137
$ ( '#side-menu' ) . removeAttr ( 'style' ) ;
@@ -288,6 +289,11 @@ function iframeZoom(flag) {
288
289
$ ( '.navbar-static-top' ) . show ( ) ;
289
290
$ ( '.footer' ) . show ( ) ;
290
291
$ ( '#content-main' ) . css ( 'height' , 'calc(100% - 140px)' ) ;
291
- $ ( '#page-wrapper' ) . css ( 'margin' , '0 0 0 220px' ) ;
292
+
293
+ if ( $ ( 'body' ) . hasClass ( 'fixed-sidebar' ) ) {
294
+ $ ( '#page-wrapper' ) . attr ( 'style' , '' ) ;
295
+ } else {
296
+ $ ( '#page-wrapper' ) . css ( 'margin' , '0 0 0 220px' ) ;
297
+ }
292
298
}
293
299
}
You can’t perform that action at this time.
0 commit comments