I want to reduce height of list-group-item.
<ul class="list-group" style="max-height: 200px;overflow: auto;"> <li class="list-group-item" ng-repeat="i in filters"> {{i}} </li> </ul>
How can I do? Should I add custom css class?
If you are using bootstrap 4 then solution is easy, no need to write any new class.
We can use py-0/py-1/py-2/py-3/py-4 class according to your need with LI element:
<ul class="list-group"> <li class="list-group-item py-2" ng-repeat="i in filters"> {{i}} </li> </ul>
Where property is one of:
Where sides is one of:
Where Number is one of:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With