Browse Source

Fixed right sidebar and boxed layout issues

Abdullah Almsaeed 10 năm trước cách đây
mục cha
commit
ba23ea0a11
2 tập tin đã thay đổi với 8 bổ sung5 xóa
  1. 8 5
      dist/js/app.js
  2. 0 0
      dist/js/app.min.js

+ 8 - 5
dist/js/app.js

@@ -411,9 +411,10 @@ function _init() {
     },
     //Close the control sidebar
     close: function (sidebar, slide) {
-
-      sidebar.removeClass('control-sidebar-open');
-      $('body').removeClass('control-sidebar-open');
+      if (slide)
+        sidebar.removeClass('control-sidebar-open');
+      else
+        $('body').removeClass('control-sidebar-open');
     },
     _fix: function (sidebar) {
       var _this = this;
@@ -424,8 +425,10 @@ function _init() {
           _this._fix(sidebar);
         });
       } else {
-        sidebar.css('position', 'fixed');
-        sidebar.height($(window).height());
+        sidebar.css({
+          'position': 'fixed',
+          'height': 'auto'
+        });
       }
     }
   };

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/js/app.min.js


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác