|
@@ -1,6 +1,6 @@
|
|
/*!
|
|
/*!
|
|
* AdminLTE v3.0.0-beta.1 (https://adminlte.io)
|
|
* AdminLTE v3.0.0-beta.1 (https://adminlte.io)
|
|
- * Copyright 2014-2019 Abdullah Almsaeed <abdullah@almsaeedstudio.com>
|
|
|
|
|
|
+ * Copyright 2014-2019 Colorlib <http://colorlib.com>
|
|
* Licensed under MIT (https://github.com/almasaeed2010/AdminLTE/blob/master/LICENSE)
|
|
* Licensed under MIT (https://github.com/almasaeed2010/AdminLTE/blob/master/LICENSE)
|
|
*/
|
|
*/
|
|
(function (global, factory) {
|
|
(function (global, factory) {
|
|
@@ -202,6 +202,7 @@ var Layout = function ($) {
|
|
var ClassName = {
|
|
var ClassName = {
|
|
HOLD: 'hold-transition',
|
|
HOLD: 'hold-transition',
|
|
SIDEBAR: 'main-sidebar',
|
|
SIDEBAR: 'main-sidebar',
|
|
|
|
+ CONTENT_FIXED: 'content-fixed',
|
|
LAYOUT_FIXED: 'layout-fixed',
|
|
LAYOUT_FIXED: 'layout-fixed',
|
|
NAVBAR_FIXED: 'layout-navbar-fixed',
|
|
NAVBAR_FIXED: 'layout-navbar-fixed',
|
|
FOOTER_FIXED: 'layout-footer-fixed'
|
|
FOOTER_FIXED: 'layout-footer-fixed'
|
|
@@ -277,6 +278,9 @@ var Layout = function ($) {
|
|
if ($('body').hasClass(ClassName.FOOTER_FIXED)) {
|
|
if ($('body').hasClass(ClassName.FOOTER_FIXED)) {
|
|
$(Selector.CONTENT).css('margin-bottom', heights.footer);
|
|
$(Selector.CONTENT).css('margin-bottom', heights.footer);
|
|
}
|
|
}
|
|
|
|
+ if ($('body').hasClass(ClassName.CONTENT_FIXED)) {
|
|
|
|
+ $(Selector.CONTENT).css('height', $(Selector.CONTENT).css('min-height'));
|
|
|
|
+ }
|
|
};
|
|
};
|
|
|
|
|
|
// Private
|
|
// Private
|