From: Mark Otto Date: Mon, 7 Jul 2014 23:59:59 +0000 (-0700) Subject: Part 1 for fixing #13996: Revert the width: 100% \9; IE hack for SVG img-responsive X-Git-Tag: v3.3.0~369 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c769d7c21ff50d3cf2b3a9a97f0627d401e11f95;p=thirdparty%2Fbootstrap.git Part 1 for fixing #13996: Revert the width: 100% \9; IE hack for SVG img-responsive --- diff --git a/less/mixins/image.less b/less/mixins/image.less index 5d2cccb275..f233cb3e19 100644 --- a/less/mixins/image.less +++ b/less/mixins/image.less @@ -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 }