Adds max-height to tray container.