update
This commit is contained in:
Binary file not shown.
@@ -34,9 +34,9 @@
|
|||||||
js.initTabPage('tabpanel1', {
|
js.initTabPage('tabpanel1', {
|
||||||
height: function () {
|
height: function () {
|
||||||
var windowHeight = $(window).height(),
|
var windowHeight = $(window).height(),
|
||||||
headerHeight = $('.box-header').outerHeight(),
|
headerHeight = $('.box-header').outerHeight() || 0,
|
||||||
footerHeight = $('.box-footer').outerHeight(),
|
footerHeight = $('.box-footer').outerHeight() || 0,
|
||||||
height = windowHeight - headerHeight - footerHeight - 3;
|
height = windowHeight - headerHeight - footerHeight - 13;
|
||||||
return height < 300 ? 300 : height;
|
return height < 300 ? 300 : height;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -53,9 +53,10 @@
|
|||||||
b.initTabPage('tabpanel2', {
|
b.initTabPage('tabpanel2', {
|
||||||
height: function () {
|
height: function () {
|
||||||
var windowHeight = $(window).height(),
|
var windowHeight = $(window).height(),
|
||||||
headerHeight = $('.box-header').outerHeight(),
|
headerHeight = $('.box-header').outerHeight() || 0,
|
||||||
footerHeight = $('.box-footer').outerHeight(),
|
footerHeight = $('.box-footer').outerHeight() || 0,
|
||||||
height = windowHeight - headerHeight - footerHeight - 3;
|
height = windowHeight - headerHeight - footerHeight - 13;
|
||||||
|
log(height)
|
||||||
return height < 300 ? 300 : height;
|
return height < 300 ? 300 : height;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user