-
-
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
.card-block missing clearfix #18583
Comments
Erm, you're referring to clearfix, right? |
Not the .clearfix class itself. Divs with .card-block have simply no height if they contain only floating elements like grids. |
I was referring to the abstract concept of clearfix. Bootstrap implements it both as a mixin and as a class though.
Yes, that's what clearfix fixes. So the obvious (and seemingly reasonable) solution here would be to make |
Yes, sure. |
Fixed by #18655. |
.card components that contain floats (e.g. "col-sm-6" grids) have no height because of the floating elements. Can be fixed by adding:
The text was updated successfully, but these errors were encountered: