max-height instead of max-width