I'm currently learning how to create a sidebar in my project.
Whenever item 3 is expanded, an unwanted rectangular area appears underneath it.
I have not added any padding in my code nor any CSS styles. I attempted to use browser inspect tools, but I wasn't able to resolve the issue.
I really want to remove this blank rectangular area that's bothering me.
Thank you.
Here's the code snippet (also available in the link below):
<div class="list-group">
<a href="#" class="list-group-item list-group-item-success">
Item 1</a>
<a ref="#" class="list-group-item list-group-item-success">
Item 2</a>
<a href="#IDp_3" class="list-group-item list-group-item-success"
data-toggle="collapse"
onclick=" $('#PM0001').toggleClass('fa-minus-square fa-plus-square')">
<i class="fas fa fa-plus-square" id="PM0001" ></i>
Item 3
<div class="collapse" id="IDp_3">
<a href="" class="list-group-item">
-3.1</a>
<a href="" class="list-group-item">
-3.2</a>
<a href="" class="list-group-item">
-3.3</a>
</div?
<div>
</div>