diff options
author | Starsam80 <samraskauskas@gmail.com> | 2016-10-15 22:57:36 +0300 |
---|---|---|
committer | Starsam80 <samraskauskas@gmail.com> | 2016-10-15 23:12:19 +0300 |
commit | 9e5a02c606aae3de62feede1fd43b2d4c2289a4c (patch) | |
tree | 92a805b93fd21d3eb07407bed250887a5079bd19 /scss/_list-group.scss | |
parent | cf5d94f6d5685c371dcb157af74a3c6b14ec8d8e (diff) |
Remove borders on the top and/or bottom when .list-group-flush is the first and/or last child
Fully fixes #20395
Diffstat (limited to 'scss/_list-group.scss')
-rw-r--r-- | scss/_list-group.scss | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scss/_list-group.scss b/scss/_list-group.scss index 1e0d1121d4..f17fb9bb11 100644 --- a/scss/_list-group.scss +++ b/scss/_list-group.scss @@ -74,6 +74,18 @@ border-left: 0; border-radius: 0; } + + &:first-child { + .list-group-item:first-child { + border-top: 0; + } + } + + &:last-child { + .list-group-item:last-child { + border-bottom: 0; + } + } } |