-
-
Notifications
You must be signed in to change notification settings - Fork 78.5k
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
Border card-group doesn't work in a accordion collapse #26556
Comments
May be it is a bug here |
It affects any cards that might be used inside the accordion, which limits the accordion's utility somewhat. It appears that this is the result of the "fix" for the doubled-borders for the accordions (#23836). |
Wouldn't changing the rule from .accordion .card:first-of-type to .accordion > .card:first-of-type resolve both issues? It certainly looks like it is in dev for me but I also have rotten luck these days when I post something... :) |
Possibly related:
should really be changed to:
|
I noticed this also, I just took the accordion example from the documentation and deleted the two last cards and the first card does not have a bottom border. |
I'm also seeing this issue as I use single item accordion. I ended up with overruling by usage of !important |
Indeed, accordions with a single card do not display properly. They lose their round corners (top and bottom) and their bottom border: P.S.: using this fix for now, until @linusbrolin's fix makes it to the source code:
|
I have no idea if it is my problem but when I use a card-group in a accordion collapse it doesn't show borders properly.
Version: bootstrap 4.1.1
Browsers: IE, Edge, Chrome, Opera, Firefox
Code: https://codepen.io/anon/pen/qYvLdN
The text was updated successfully, but these errors were encountered: