-
-
Notifications
You must be signed in to change notification settings - Fork 78.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.list-group-flush within .card causes double border #20395
Comments
+1 For me as well when migrating. Also occurring in the plain list-in-a-card example. Potentially this commit removed the different border when list groups are flush. |
Happy Friday! Since this seems to be a common problem and since the fix seems pretty benign, can this be added to the alpha.3.1 patch release? |
Hi @mdo, just wanted to follow up on this since its still present in the alpha.4 (http://v4-alpha.getbootstrap.com/components/card/#content-types) Any chance this fix can catch the alpha.5 milestone? |
Temporary fix / monkey patch: // Documentation example: Remove double borders
.card > .list-group > .list-group-item {
border-left: 0;
border-right: 0;
} // Plain list card example: Remove also first + last border
.card > .list-group > .list-group-item {
border-left: 0;
border-right: 0;
&:first-of-type {
border-top: 0;
}
&:last-of-type {
border-bottom: 0;
}
} |
The above fix works when the .card > .list-group {
> .list-group-item {
border-left: 0;
border-right: 0;
}
&:first-child .list-group-item:first-of-type {
border-top: 0;
}
&:last-child .list-group-item:last-of-type {
border-bottom: 0;
}
} |
Saw this locally when I upgraded to alpha 3, confirmed in the public documentation:
Seeing this in Chrome 51, Firefox 46, and Safari 9.1.2.
The text was updated successfully, but these errors were encountered: