Skip to content

Commit

Permalink
(less) Merge pull request twbs#10662 from kevinlisota/thumbnail-images
Browse files Browse the repository at this point in the history
add responsive CSS to hyperlinked images when thumbnail caption markup used
  • Loading branch information
mdo committed Dec 2, 2013
2 parents 75e9be8 + 9293a52 commit 0c56419
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion thumbnails.less
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
border-radius: @thumbnail-border-radius;
.transition(all .2s ease-in-out);

> img {
> img,
a > img {
.img-responsive();
margin-left: auto;
margin-right: auto;
Expand Down

0 comments on commit 0c56419

Please sign in to comment.