.list-group-item{
width: 165px;
height: 32px;
line-height: 1px;
text-align: center;
margin-bottom: 1px;
margin-top: 58px;
margin-left: 20px;
}
<ul class="list-group" v-if="showSearchHistory">
<li class="list-group-item" v-for="(item, index) in searchHistory.slice(-5).reverse().map(s => s.trim( ))"
:key="index"
@click="selectPreviousSearch(index)">{{ item }}</li>
</ul>
I have a question about the use of Bootstrap classes "list-group-item" and "list-group". I am wondering if there are default styles applied by Bootstrap to these classes. My goal is to align all the text in a single row side by side, instead of one by one (text is displayed from li when a button is clicked).