diff options
| author | Kevin Lisota <[email protected]> | 2013-09-16 08:21:09 -0700 |
|---|---|---|
| committer | Kevin Lisota <[email protected]> | 2013-09-16 08:21:09 -0700 |
| commit | cde1b9a1782a6592e2d41ce2ad60aadd74e5539c (patch) | |
| tree | 6f3b3301d8a8914b92901c02b5b0a4cf4d2d0df0 | |
| parent | 559fcbfbd6c876c2a65b37015d953c9708c02cb7 (diff) | |
| download | bootstrap-cde1b9a1782a6592e2d41ce2ad60aadd74e5539c.tar.xz bootstrap-cde1b9a1782a6592e2d41ce2ad60aadd74e5539c.zip | |
add responsive CSS to hyperlinked images when thumbnail caption markup is used
When thumbnail caption markup is used in combination with a hyperlinked image, the image is not responsive. (non-hyperlinked images are fine, like the example in the docs) Adding a selector to apply responsiveness to hyperlinked images when thumbnail captions are used.
| -rw-r--r-- | less/thumbnails.less | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/less/thumbnails.less b/less/thumbnails.less index a210cac72..f6064a245 100644 --- a/less/thumbnails.less +++ b/less/thumbnails.less @@ -9,7 +9,8 @@ display: block; // Override the inline-block from `.img-thumbnail` margin-bottom: @line-height-computed; - > img { + > img, + a > img { .img-responsive(); } } |
