-
-
Notifications
You must be signed in to change notification settings - Fork 79k
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
add docs about scale .img-responsive svg for IE 11 #16782
Comments
Please post a JS Bin demonstrating the problem and proposed fix. |
@cvrebert |
Confirmed on : |
@evilebottnawi That hack isn't feasible. It will cause non-SVG images to be stretched beyond their natural dimensions, which is undesirable; see #13996. |
@cvrebert how about use hack for class .img-responsive with filename end on .svg? |
@cvrebert hack with .img-responsive {
width: 100% \9;
} Not working in ie11 and no docs about this bugs |
We ruled that out in the previous issues. |
.img-responsive {
width: 100% \9;
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
&[src$="svg"],
.thumbnail > img[src$="svg"],
.thumbnail a > img[src$="svg"],
.carousel-inner > .item > img[src$="svg"],
.carousel-inner > .item > a > img[src$="svg"] {
width: 100%;
}
}
} How about this construction, working in IE8-IE10, and IE11, http://dev.l-c-n.com/CSS3-selectors/browser-support.php, may be working in IE7, need testing |
@evilebottnawi Like I said, we've already ruled out |
Punting with no reply. Happy to revisit though with a viable fix. |
Before hack:


After hack:
The text was updated successfully, but these errors were encountered: