fix whitespace with fixed navbar & footer

This commit is contained in:
REJack
2020-04-27 19:28:05 +02:00
parent bf2bafa96c
commit 26ce58fe28
10 changed files with 356 additions and 58 deletions

8
dist/js/adminlte.js vendored
View File

@@ -379,6 +379,10 @@
} else {
$(Selector.CONTENT).css('min-height', max + offset - heights.header);
}
if (this._isFooterFixed()) {
$(Selector.CONTENT).css('min-height', parseFloat($(Selector.CONTENT).css('min-height')) + heights.footer);
}
}
if ($('body').hasClass(ClassName.LAYOUT_FIXED)) {
@@ -450,6 +454,10 @@
}
});
return max;
};
_proto._isFooterFixed = function _isFooterFixed() {
return $('.main-footer').css('position') === 'fixed';
} // Static
;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long