aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
Diffstat (limited to 'less')
-rw-r--r--less/mixins/image.less1
1 files changed, 1 insertions, 0 deletions
diff --git a/less/mixins/image.less b/less/mixins/image.less
index f233cb3e1..5d2cccb27 100644
--- a/less/mixins/image.less
+++ b/less/mixins/image.less
@@ -8,6 +8,7 @@
// 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
}