Skip to content

Commit

Permalink
Merge pull request twbs#20903 from Starsam80/fix-20395
Browse files Browse the repository at this point in the history
Remove borders on the top and/or bottom when .list-group-flush is the first and/or last child
  • Loading branch information
mdo committed Oct 26, 2016
2 parents 0fff1a1 + 9e5a02c commit 182a642
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions scss/_list-group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}


Expand Down

0 comments on commit 182a642

Please sign in to comment.