I recently integrated a Bootstrap collapse plugin to manage my list of common inquiries:
https://jsfiddle.net/2d8ytuq0/
<ul class="faq__questions">
<li>
<a href="#" data-toggle="collapse" data-target="#faq__question_1">..</a>
<p class="collapse" id="faq__question_1">...</p>
</li>
</ul>
Upon collapsing back the detailed description, I noticed that there is a slight "jump". This may be due to the bottom margin of the p
element. Even after attempting to replace it with padding-bottom
, the issue persisted. Is there a solution to rectify this without affecting the original layout?