]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Part 1 for fixing #13996: Revert the width: 100% \9; IE hack for SVG img-responsive
authorMark Otto <otto@github.com>
Mon, 7 Jul 2014 23:59:59 +0000 (16:59 -0700)
committerMark Otto <otto@github.com>
Mon, 7 Jul 2014 23:59:59 +0000 (16:59 -0700)
less/mixins/image.less

index 5d2cccb275f440ceefb8666ac6b9b9019747af2e..f233cb3e199f21ac194212e10ebb1e12feb0682b 100644 (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
 }