-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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
Incorrect borders with .list-group-flush.list-group-horizontal #39150
Comments
Thanks for reporting this issue @fulldecent. <div class="list-group list-group-flush list-group-horizontal">
<a href="#" class="list-group-item list-group-item-action">
The current link item
</a>
<a href="#" class="list-group-item list-group-item-action">A second link item</a>
<a href="#" class="list-group-item list-group-item-action">A third link item</a>
<a href="#" class="list-group-item list-group-item-action">A fourth link item</a>
<a class="list-group-item list-group-item-action disabled" aria-disabled="true">A disabled link item</a>
</div> Here's a CodePen showing the issue initially reported and the one I saw while testing it: https://codepen.io/julien-deramond/pen/rNoWJxg |
Aha! Thank you, good minimizing! |
Hey, guys. @julien-deramond Could, you, check, please? |
I messed a bit with the commits, so if necessary, I can create a new pull request where I can clean everything up. |
@WOLFRIEND I think that's OK, we change the message commit in the end and squash everything. If the final changes in the PR are OK, there's no need to clean it up. |
Prerequisites
Describe the issue
When using
.list-group-flush
and.list-group-horizontal
on the same list group you get:But was expecting:
Documentation seems to say that this is possible:
I have seen another issue about putting a list group IN a list group. But that is not what is being reported here.
Workaround (how I made the second screenshot) is to add
.border-0
on each.list-group-item
Reduced test cases
Edit: CodePen created by @julien-deramond: https://codepen.io/julien-deramond/pen/rNoWJxg
What operating system(s) are you seeing the problem on?
macOS
What browser(s) are you seeing the problem on?
Microsoft Edge
What version of Bootstrap are you using?
5.3.1
The text was updated successfully, but these errors were encountered: