mirror of https://github.com/ColorlibHQ/AdminLTE
* fixed content-wrapper height * updated content wrapper heightpull/2991/head
parent
d9e6830184
commit
113a3b4c8e
|
@ -97,7 +97,7 @@
|
||||||
} else {
|
} else {
|
||||||
var postSetHeight;
|
var postSetHeight;
|
||||||
|
|
||||||
if (windowHeight >= sidebarHeight) {
|
if (windowHeight >= sidebarHeight + headerHeight) {
|
||||||
$(Selector.contentWrapper).css('min-height', windowHeight - neg);
|
$(Selector.contentWrapper).css('min-height', windowHeight - neg);
|
||||||
postSetHeight = windowHeight - neg;
|
postSetHeight = windowHeight - neg;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -614,7 +614,7 @@ throw new Error('AdminLTE requires jQuery')
|
||||||
} else {
|
} else {
|
||||||
var postSetHeight;
|
var postSetHeight;
|
||||||
|
|
||||||
if (windowHeight >= sidebarHeight) {
|
if (windowHeight >= sidebarHeight + headerHeight) {
|
||||||
$(Selector.contentWrapper).css('min-height', windowHeight - neg);
|
$(Selector.contentWrapper).css('min-height', windowHeight - neg);
|
||||||
postSetHeight = windowHeight - neg;
|
postSetHeight = windowHeight - neg;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue