Skip to content

Double border on .list-group-item when followed by .card-footer #27125

@royklutman

Description

@royklutman

When using a .list-group .list-group-flush in a card followed by .card-footer, the list last list group item does have a border, so basically this is not being applied:

&:last-child {
.list-group-item:last-child {
border-bottom: 0;
}
}

It is however correctly applied when followed by a .card-body, as supposed:

image

CodePen to reproduce:
https://codepen.io/anon/pen/PdPxgG?editors=1000

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions