细节微调
This commit is contained in:
@@ -39,7 +39,7 @@
|
|||||||
var windowHeight = $(window).height(),
|
var windowHeight = $(window).height(),
|
||||||
headerHeight = $('.box-header').outerHeight() || 0,
|
headerHeight = $('.box-header').outerHeight() || 0,
|
||||||
footerHeight = $('.box-footer').outerHeight() || 0,
|
footerHeight = $('.box-footer').outerHeight() || 0,
|
||||||
height = windowHeight - headerHeight - footerHeight - 13;
|
height = windowHeight - headerHeight - footerHeight - 20;
|
||||||
return height < 300 ? 300 : height;
|
return height < 300 ? 300 : height;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -59,7 +59,7 @@
|
|||||||
var windowHeight = $(window).height(),
|
var windowHeight = $(window).height(),
|
||||||
headerHeight = $('.box-header').outerHeight() || 0,
|
headerHeight = $('.box-header').outerHeight() || 0,
|
||||||
footerHeight = $('.box-footer').outerHeight() || 0,
|
footerHeight = $('.box-footer').outerHeight() || 0,
|
||||||
height = windowHeight - headerHeight - footerHeight - 13;
|
height = windowHeight - headerHeight - footerHeight - 20;
|
||||||
return height < 300 ? 300 : height;
|
return height < 300 ? 300 : height;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
var windowHeight = $(window).height(),
|
var windowHeight = $(window).height(),
|
||||||
headerHeight = $('.box-header').outerHeight() || 0,
|
headerHeight = $('.box-header').outerHeight() || 0,
|
||||||
footerHeight = $('.box-footer').outerHeight() || 0,
|
footerHeight = $('.box-footer').outerHeight() || 0,
|
||||||
height = windowHeight - headerHeight - footerHeight - 13;
|
height = windowHeight - headerHeight - footerHeight - 20;
|
||||||
return height < 300 ? 300 : height;
|
return height < 300 ? 300 : height;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -59,7 +59,7 @@
|
|||||||
var windowHeight = $(window).height(),
|
var windowHeight = $(window).height(),
|
||||||
headerHeight = $('.box-header').outerHeight() || 0,
|
headerHeight = $('.box-header').outerHeight() || 0,
|
||||||
footerHeight = $('.box-footer').outerHeight() || 0,
|
footerHeight = $('.box-footer').outerHeight() || 0,
|
||||||
height = windowHeight - headerHeight - footerHeight - 13;
|
height = windowHeight - headerHeight - footerHeight - 20;
|
||||||
return height < 300 ? 300 : height;
|
return height < 300 ? 300 : height;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user