1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

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.
This commit is contained in:
Kevin Lisota 2013-09-16 08:21:09 -07:00
parent 559fcbfbd6
commit cde1b9a178

View file

@ -9,7 +9,8 @@
display: block; // Override the inline-block from `.img-thumbnail`
margin-bottom: @line-height-computed;
> img {
> img,
a > img {
.img-responsive();
}
}