#1947 fixed content-wrapper height (#1948)

* fixed content-wrapper height

* updated content wrapper height
This commit is contained in:
kasarla shirisha 2018-08-23 00:10:03 +05:30 committed by Abdullah Almsaeed
parent d9e6830184
commit 113a3b4c8e
2 changed files with 2 additions and 2 deletions

View file

@ -97,7 +97,7 @@
} else {
var postSetHeight;
if (windowHeight >= sidebarHeight) {
if (windowHeight >= sidebarHeight + headerHeight) {
$(Selector.contentWrapper).css('min-height', windowHeight - neg);
postSetHeight = windowHeight - neg;
} else {

2
dist/js/adminlte.js vendored
View file

@ -614,7 +614,7 @@ throw new Error('AdminLTE requires jQuery')
} else {
var postSetHeight;
if (windowHeight >= sidebarHeight) {
if (windowHeight >= sidebarHeight + headerHeight) {
$(Selector.contentWrapper).css('min-height', windowHeight - neg);
postSetHeight = windowHeight - neg;
} else {