commit
de6b9e9df1
1 changed files with 1 additions and 1 deletions
|
|
@ -354,7 +354,7 @@
|
|||
//
|
||||
// Keep images from scaling beyond the width of their parents.
|
||||
|
||||
.img-responsive(@display: block;) {
|
||||
.img-responsive(@display: block) {
|
||||
display: @display;
|
||||
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…
Add table
Add a link
Reference in a new issue