diff options
| author | Mark Otto <[email protected]> | 2016-10-25 19:52:14 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2016-10-25 19:52:14 -0700 |
| commit | 182a642b0784af327c0a1c5d06fbcc826135373a (patch) | |
| tree | e1a653f2d12092e34ecc0ec7c6bd02030710729f | |
| parent | 0fff1a1424965689552c49cd2709695979755c9e (diff) | |
| parent | 9e5a02c606aae3de62feede1fd43b2d4c2289a4c (diff) | |
| download | bootstrap-182a642b0784af327c0a1c5d06fbcc826135373a.tar.xz bootstrap-182a642b0784af327c0a1c5d06fbcc826135373a.zip | |
Merge pull request #20903 from Starsam80/fix-20395
Remove borders on the top and/or bottom when .list-group-flush is the first and/or last child
| -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 1e0d1121d..f17fb9bb1 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; + } + } } |
