aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-07-07 16:59:59 -0700
committerMark Otto <[email protected]>2014-07-07 16:59:59 -0700
commitc769d7c21ff50d3cf2b3a9a97f0627d401e11f95 (patch)
tree3a44e8490f8c98d5600d623d51425e726bdc16ea
parent9a8e6263da5897e14d9d28204f41763d1b975e75 (diff)
downloadbootstrap-c769d7c21ff50d3cf2b3a9a97f0627d401e11f95.tar.xz
bootstrap-c769d7c21ff50d3cf2b3a9a97f0627d401e11f95.zip
Part 1 for fixing #13996: Revert the width: 100% \9; IE hack for SVG img-responsive
-rw-r--r--less/mixins/image.less1
1 files changed, 0 insertions, 1 deletions
diff --git a/less/mixins/image.less b/less/mixins/image.less
index 5d2cccb27..f233cb3e1 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
}