Commit fda8d91c authored by Chris Rebert's avatar Chris Rebert
Browse files

use :extend in thumbnail Less

parent 651b289e
4 merge requests!28721Hot test,!12620use :extend in thumbnail Less,!22103test,!25326Adjust examples
Showing with 4 additions and 5 deletions
+4 -5
...@@ -307,7 +307,9 @@ figure { ...@@ -307,7 +307,9 @@ figure {
img { img {
vertical-align: middle; vertical-align: middle;
} }
.img-responsive { .img-responsive,
.thumbnail > img,
.thumbnail a > img {
display: block; display: block;
max-width: 100%; max-width: 100%;
height: auto; height: auto;
...@@ -4401,9 +4403,6 @@ a.list-group-item.active > .badge, ...@@ -4401,9 +4403,6 @@ a.list-group-item.active > .badge,
} }
.thumbnail > img, .thumbnail > img,
.thumbnail a > img { .thumbnail a > img {
display: block;
max-width: 100%;
height: auto;
margin-right: auto; margin-right: auto;
margin-left: auto; margin-left: auto;
} }
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
> img, > img,
a > img { a > img {
.img-responsive(); &:extend(.img-responsive);
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
} }
......
Supports Markdown
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