mirror of https://github.com/ColorlibHQ/AdminLTE
fix(js): body layout-fixed & layout-navbar-fixed calculates wrong minHeight
parent
69c8d427be
commit
c1101389a3
|
@ -67,7 +67,7 @@ class Layout {
|
|||
|
||||
const heights = {
|
||||
window: $(window).height(),
|
||||
header: $(SELECTOR_HEADER).length > 0 && !$('body').hasClass('layout-navbar-fixed') ? $(SELECTOR_HEADER).outerHeight() : 0,
|
||||
header: $(SELECTOR_HEADER).length > 0 ? $(SELECTOR_HEADER).outerHeight() : 0,
|
||||
footer: $(SELECTOR_FOOTER).length > 0 ? $(SELECTOR_FOOTER).outerHeight() : 0,
|
||||
sidebar: $(SELECTOR_SIDEBAR).length > 0 ? $(SELECTOR_SIDEBAR).height() : 0,
|
||||
controlSidebar
|
||||
|
|
Loading…
Reference in New Issue