mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-04-15 10:00:58 +00: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…
Reference in a new issue