I am currently utilizing an accordion component from the Bootstrap 4 library and it is functioning properly. However, I have encountered an issue when the header contains a very long title as shown below:
<div class="accordion" id="accordionExample">
<div class="card">
<div class="card-header" id="headingOne">
<h5 class="mb-0">
<button class="btn btn-link" type="button" data-toggle="collapse" data-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Cumque debitis aliquid numquam iure saepe eum, unde hic eligendi quisquam, neque dolorem officia magnam. Aut recusandae ipsam doloribus, cumque alias eum.
</button>
</h5>
</div>
...
</div>
This causes the text to extend beyond the container boundary.
https://i.sstatic.net/CVexd.png
Is there a way to break the text into a new line?
I have created a trimmed version of the example on JSFiddle