How do you change the height of the accordion content in a side accordion story map such that it's responsive? When I add the following to the index.html file, the height changes in the hosted story map. But, if the story map is resized and the page is maximized again, the accordion content reflects the height in the builder (default height). Only if the page is reloaded again, the accordion content has the modified height (eg: 500px).
/*
* Custom Javascript to be executed when the application is ready goes here
*/
$(".accordion-content").css("max-height", "500px");
$(".accordion-content").css("height", "500px");