2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03:00

Merge pull request #17168 from kkirsche/patch-19

v4 - Rename .img-responsive class to .img-fluid
This commit is contained in:
Mark Otto
2015-09-02 00:33:26 -07:00
13 changed files with 30 additions and 30 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
//
// Keep images from scaling beyond the width of their parents.
@mixin img-responsive($display: block) {
@mixin img-fluid($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