-
-
Notifications
You must be signed in to change notification settings - Fork 79.1k
.card-img-top overflows card #20849
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
Comments
Hi @SoaringRadio! You appear to have posted a live example (https://fiddle.jshell.net/1v3dLj05/4/show/light/), which is always a good first step. However, according to the HTML5 validator, your example has some validation errors, which might potentially be causing your issue:
You'll need to fix these errors and post a revised example before we can proceed further. (Please note that this is a fully automated comment.) |
Hi @SoaringRadio! You appear to have posted a live example (https://fiddle.jshell.net/1v3dLj05/5/show/light/), which is always a good first step. However, according to the HTML5 validator, your example has some validation errors, which might potentially be causing your issue:
You'll need to fix these errors and post a revised example before we can proceed further. (Please note that this is a fully automated comment.) |
I believe this is a dupe of #20560. It's since been resolved and will ship with Alpha 5. |
I believe this is in all browsers.
I'm using 4.0.0-alpha.4 via cdn
When I use an image with the class "card-img-top" the image does not stay within the card.
This is because it doesn't have a defined width.
The"card-img-top" class needs to have a width of 100%.
Example of buggy code: https://jsfiddle.net/1v3dLj05/5/
Example of fixed code: https://jsfiddle.net/1v3dLj05/4/
The text was updated successfully, but these errors were encountered: