mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-19 16:54:24 +01:00
Part 1 for fixing #13996: Revert the width: 100% \9; IE hack for SVG img-responsive
This commit is contained in:
parent
9a8e6263da
commit
c769d7c21f
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user