// Use on `li`s or `div`s within the `.list-group` parent.
.list-group-item {
+ @if $enable-flex {
+ display: flex;
+ flex-flow: row wrap;
+ align-items: center;
+ } @else {
+ display: block;
+ }
++
position: relative;
- display: block;
- padding: .75rem 1.25rem;
+ padding: $list-group-item-padding-y $list-group-item-padding-x;
// Place the border on the list items and negative margin up for better styling
margin-bottom: -$list-group-border-width;
background-color: $list-group-bg;