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
There is an unecessary list-type
on the .carousel-indicators
element
#37769
Comments
I did some archeology and when this line was introduced, carousel indicators in the documentation were created like this:
We can still find it in https://getbootstrap.com/docs/4.6/components/carousel/. In v5, we don't provide anymore a carousel indicators example with |
Can probably be removed—we dropped it in #32661 (v5 beta 2) and then backported it to v4.x. |
@CyrilKrylatov I'd say go for it! |
Yay! I'll do it within the week; can't wait to open my very first PR on Bootstrap! |
IMHO using ol / li or ul / li tags looked a bit better, code-wise, at least at first sight. From a practical POV: In case somebody finds it useful, you can fix things in old carousels by adding the list-unstyled class to the ol |
Right here:
bootstrap/scss/_carousel.scss
Line 168 in 9e17b2b
I think it could be removed as in the documentation Bootstrap is using a
div
element, not anul
.If you think it's worth the shot, I could make a PR about it.
Should I make it?
One of my 2023 goal is to be more involved in Bootstrap, so it could be a good very first exercice for me!
✌️
The text was updated successfully, but these errors were encountered: