Skip to content

Commit

Permalink
Fixed right sidebar and boxed layout issues
Browse files Browse the repository at this point in the history
  • Loading branch information
almasaeed2010 committed Apr 9, 2015
1 parent 0d48b12 commit ba23ea0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
13 changes: 8 additions & 5 deletions dist/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -424,8 +425,10 @@ function _init() {
_this._fix(sidebar);
});
} else {
sidebar.css('position', 'fixed');
sidebar.height($(window).height());
sidebar.css({
'position': 'fixed',
'height': 'auto'
});
}
}
};
Expand Down
2 changes: 1 addition & 1 deletion dist/js/app.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ba23ea0

Please sign in to comment.