Remove borders on the top and/or bottom when .list-group-flush is the first and/or last child

Fully fixes #20395
This commit is contained in:
Starsam80 2016-10-15 13:57:36 -06:00
parent cf5d94f6d5
commit 9e5a02c606
No known key found for this signature in database
GPG Key ID: 4E48BB48BA7E9026

View File

@ -74,6 +74,18 @@
border-left: 0; border-left: 0;
border-radius: 0; border-radius: 0;
} }
&:first-child {
.list-group-item:first-child {
border-top: 0;
}
}
&:last-child {
.list-group-item:last-child {
border-bottom: 0;
}
}
} }