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:
parent
559fcbfbd6
commit
cde1b9a178
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,8 @@
|
|||
display: block; // Override the inline-block from `.img-thumbnail`
|
||||
margin-bottom: @line-height-computed;
|
||||
|
||||
> img {
|
||||
> img,
|
||||
a > img {
|
||||
.img-responsive();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue