diff options
Diffstat (limited to 'less')
| -rw-r--r-- | less/scaffolding.less | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/less/scaffolding.less b/less/scaffolding.less index bd8392ac4..e4aa67260 100644 --- a/less/scaffolding.less +++ b/less/scaffolding.less @@ -73,8 +73,8 @@ img { } // Responsive images (ensure images don't scale beyond their parents) -.img-responsive { - display: inline-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 } |
