I have implemented an accordion element on my website. When I click the button to reveal the content inside a div, there are two columns displayed next to each other. However, on wider screens, the columns appear stacked on top of each other instead of horizontally aligned. What could be causing this issue?
<div class="row collapse" id="infoData">
<div class="col-md-5">
<p><img src="/icons/shirt.svg" class="icon">{{ $player->club }}</p>
<p><img src="/icons/football-field.svg" class="icon">{{ $player->position }}</p>
<p><img src="/icons/contract.svg" class="icon">Pro sports agency</p>
</div>
<div class="col-md-5">
<p><img src="/icons/scale.svg" class="icon">100m: 11.1s</p>
<p><img src="/icons/scale.svg" class="icon">Vertical jump: 65cm</p>
<p><img src="/icons/football-field.svg" class="icon">Left foot</p>
</div>
</div>
<div class="row">
<div class="col-md-10">
<a data-toggle="collapse" href="#infoData" aria-expanded="false" aria-controls="infoData">
See more
</a>
</div>
</div>