We can override the height set by the JS using CSS media query.
Try adding this custom CSS:
!important will make sure it will override the inline height added by the JS. If this did not work as intended, please share the URL with issue so we can check.
Hope this helps.