-
-
Notifications
You must be signed in to change notification settings - Fork 79.1k
SVG with .img-fluid should always be shown in fullwidth #19202
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
This has been suggested previously (#13996), and deemed insufficiently general because it:
Rather than using an imperfect heuristic which will cause confusion when it suddenly stops working when someone encounters one of the failure cases, we've opted to instead document the relevant IE8-10 bug and the workaround for it (http://getbootstrap.com/css/#callout-images-ie-svg ). Note that We appreciate the thought though! |
I have made an JS Bin here: https://jsbin.com/hekonoxoba/3/edit The SVG used will be fluid up to a width of 249px. If the column gets bigger the image will not take the full column width.
It doesn't work if the |
Ah, right,
Without an additional class or something, the intention seems unclear. I can imagine reasonable cases to use Perhaps there should be a |
That could be an option, too. |
We're adding the utility class: #19234 |
Resolved by #19234. |
I think it would make sense if we extend the
img-fluid
-mixin with something like:Because I think If someone uses a Vector-Graphic with
.img-fluid
he wants to show it in fullsize and not only in theviewBox
-size.The text was updated successfully, but these errors were encountered: