Adjusting max-height