Commit 7c151150 authored by Chris Rebert's avatar Chris Rebert

use :extend(.img-responsive) in Carousel's Less

parent 651b289e
......@@ -307,7 +307,9 @@ figure {
img {
vertical-align: middle;
}
.img-responsive {
.img-responsive,
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
display: block;
max-width: 100%;
height: auto;
......@@ -5421,9 +5423,6 @@ button.close {
}
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
display: block;
max-width: 100%;
height: auto;
line-height: 1;
}
.carousel-inner > .active,
......
......@@ -21,7 +21,7 @@
// Account for jankitude on images
> img,
> a > img {
.img-responsive();
&:extend(.img-responsive);
line-height: 1;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment