]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
use :extend in thumbnail Less
authorChris Rebert <code@rebertia.com>
Thu, 6 Feb 2014 23:39:15 +0000 (15:39 -0800)
committerChris Rebert <code@rebertia.com>
Thu, 6 Feb 2014 23:42:54 +0000 (15:42 -0800)
dist/css/bootstrap.css
less/thumbnails.less

index 329b4fa2ed0f49e2502d5f0be5dac0a2d3153061..64762c0b3c653264bfb0fea84331225ac572f142 100644 (file)
@@ -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;
 }
index 11aa283a0e3912e951cb8f426056452055e28a51..c428920bc672d660e2b9216f613e6f3451974752 100644 (file)
@@ -16,7 +16,7 @@
 
   > img,
   a > img {
-    .img-responsive();
+    &:extend(.img-responsive);
     margin-left: auto;
     margin-right: auto;
   }