细节微调

This commit is contained in:
thinkgem
2022-08-09 16:44:27 +08:00
parent 6b89b2a15b
commit aed37d61fc
2 changed files with 4 additions and 4 deletions

View File

@@ -39,7 +39,7 @@
var windowHeight = $(window).height(),
headerHeight = $('.box-header').outerHeight() || 0,
footerHeight = $('.box-footer').outerHeight() || 0,
height = windowHeight - headerHeight - footerHeight - 13;
height = windowHeight - headerHeight - footerHeight - 20;
return height < 300 ? 300 : height;
}
});
@@ -59,7 +59,7 @@
var windowHeight = $(window).height(),
headerHeight = $('.box-header').outerHeight() || 0,
footerHeight = $('.box-footer').outerHeight() || 0,
height = windowHeight - headerHeight - footerHeight - 13;
height = windowHeight - headerHeight - footerHeight - 20;
return height < 300 ? 300 : height;
}
});

View File

@@ -39,7 +39,7 @@
var windowHeight = $(window).height(),
headerHeight = $('.box-header').outerHeight() || 0,
footerHeight = $('.box-footer').outerHeight() || 0,
height = windowHeight - headerHeight - footerHeight - 13;
height = windowHeight - headerHeight - footerHeight - 20;
return height < 300 ? 300 : height;
}
});
@@ -59,7 +59,7 @@
var windowHeight = $(window).height(),
headerHeight = $('.box-header').outerHeight() || 0,
footerHeight = $('.box-footer').outerHeight() || 0,
height = windowHeight - headerHeight - footerHeight - 13;
height = windowHeight - headerHeight - footerHeight - 20;
return height < 300 ? 300 : height;
}
});