aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dist/css/bootstrap.css7
-rw-r--r--less/thumbnails.less2
2 files changed, 4 insertions, 5 deletions
diff --git a/dist/css/bootstrap.css b/dist/css/bootstrap.css
index 329b4fa2e..64762c0b3 100644
--- a/dist/css/bootstrap.css
+++ b/dist/css/bootstrap.css
@@ -307,7 +307,9 @@ figure {
img {
vertical-align: middle;
}
-.img-responsive {
+.img-responsive,
+.thumbnail > img,
+.thumbnail a > img {
display: block;
max-width: 100%;
height: auto;
@@ -4401,9 +4403,6 @@ a.list-group-item.active > .badge,
}
.thumbnail > img,
.thumbnail a > img {
- display: block;
- max-width: 100%;
- height: auto;
margin-right: auto;
margin-left: auto;
}
diff --git a/less/thumbnails.less b/less/thumbnails.less
index 11aa283a0..c428920bc 100644
--- a/less/thumbnails.less
+++ b/less/thumbnails.less
@@ -16,7 +16,7 @@
> img,
a > img {
- .img-responsive();
+ &:extend(.img-responsive);
margin-left: auto;
margin-right: auto;
}