Part 1 for fixing #13996: Revert the width: 100% \9; IE hack for SVG img-responsive

This commit is contained in:
Mark Otto 2014-07-07 16:59:59 -07:00
parent 9a8e6263da
commit c769d7c21f

View File

@ -8,7 +8,6 @@
// Keep images from scaling beyond the width of their parents.
.img-responsive(@display: block) {
display: @display;
width: 100% \9; // Force IE10 and below to size SVG images correctly
max-width: 100%; // Part 1: Set a maximum relative to the parent
height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching
}