app/assets/stylesheets/bootstrap/mixins/image.less in bootstrap-on-rails-3.2.0 vs app/assets/stylesheets/bootstrap/mixins/image.less in bootstrap-on-rails-3.3.1
- old
+ new
@@ -6,10 +6,9 @@
// Responsive image
//
// 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
}