Corrects the problem of max-height CSS for small resolution.