I'm struggling to achieve responsiveness with the FAQ Accordion on my website. When it initially loads collapsed, the space where it should expand appears blank. I need it to dynamically adjust and create more room when opened up. Additionally, when a question is expanded for the answer, it seems like nothing happens visually until you scroll down. This behavior needs to be fixed for better responsiveness.
The code snippet below shows how I am embedding the accordion using an iframe:
<p align="center"><iframe width="90%" height="450" align="center" src="https://mdbootstrap.com/api/snippets/embed/2166736/fullscreen" frameborder="0" scrolling="yes" onload="resizeIframe(this)"></iframe></p>
Link to the original snippet: Accordion V5
<!DOCTYPE html>
<html>
<head>
<title>ILCA Accordion</title>
</head>
<body>
<div class="accordion" id="accordionExample275" aria-multiselectable="true">
<!-- Accordion content goes here -->
</div>
</body>
</html>
.button1 {
/* Button styling */
}
.center {
/* Center alignment styling */
}
.text {
/* Text styling */
}
/* Additional CSS styles are defined here */