fix whitespace with fixed navbar & footer
This commit is contained in:
8
dist/js/adminlte.js
vendored
8
dist/js/adminlte.js
vendored
@@ -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
|
||||
;
|
||||
|
||||
|
||||
2
dist/js/adminlte.js.map
vendored
2
dist/js/adminlte.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/js/adminlte.min.js
vendored
2
dist/js/adminlte.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/js/adminlte.min.js.map
vendored
2
dist/js/adminlte.min.js.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user