-Adjusted min size for header and footer.