Revising the max-height with empty.