AnsweredAssumed Answered

Accordion content height

Question asked by shruthi13 on Jul 13, 2016
Latest reply on Jul 19, 2016 by GLAzou-esristaff

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");

Outcomes