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 {
|
||||
var postSetHeight;
|
||||
|
||||
if (windowHeight >= sidebarHeight) {
|
||||
if (windowHeight >= sidebarHeight + headerHeight) {
|
||||
$(Selector.contentWrapper).css('min-height', windowHeight - neg);
|
||||
postSetHeight = windowHeight - neg;
|
||||
} else {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue