Fixed right sidebar and boxed layout issues

pull/337/head v2.1.0-alpha-1
Abdullah Almsaeed 2015-04-09 19:21:44 -04:00
parent 0d48b12fc0
commit ba23ea0a11
2 changed files with 9 additions and 6 deletions

9
dist/js/app.js vendored
View File

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

2
dist/js/app.min.js vendored

File diff suppressed because one or more lines are too long