Fix padding/margin issues with the main page layouts.