aboutsummaryrefslogtreecommitdiff
path: root/scss/_list-group.scss
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2017-03-18 16:30:12 -0700
committerMark Otto <[email protected]>2017-03-18 16:30:12 -0700
commitec8c2519285a1c88d224739dc2f4b18b997a1e8b (patch)
tree0a3a9e8b5bd13fc347ce652d597cc8dfe1e260f6 /scss/_list-group.scss
parentf61fb70eb102608f2b6653c604cb4fed71588d60 (diff)
downloadbootstrap-ec8c2519285a1c88d224739dc2f4b18b997a1e8b.tar.xz
bootstrap-ec8c2519285a1c88d224739dc2f4b18b997a1e8b.zip
fixes #21584
- revert back to display block for list items to prevent unwanted behaviors - fixes a handful of other linked issues (see main thread) - updates docs to include more utilities for the one example
Diffstat (limited to 'scss/_list-group.scss')
-rw-r--r--scss/_list-group.scss4
1 files changed, 1 insertions, 3 deletions
diff --git a/scss/_list-group.scss b/scss/_list-group.scss
index bb8a8d103..c4b5e2f92 100644
--- a/scss/_list-group.scss
+++ b/scss/_list-group.scss
@@ -42,9 +42,7 @@
.list-group-item {
position: relative;
- display: flex;
- flex-flow: row wrap;
- align-items: center;
+ display: block;
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;