From: Chris Rebert Date: Thu, 6 Feb 2014 23:39:15 +0000 (-0800) Subject: use :extend in thumbnail Less X-Git-Tag: v3.1.1~14^2~22^2~3^2~22^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fda8d91c86a29cceab93285d920db56f7f26aaf8;p=thirdparty%2Fbootstrap.git use :extend in thumbnail Less --- diff --git a/dist/css/bootstrap.css b/dist/css/bootstrap.css index 329b4fa2ed..64762c0b3c 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 11aa283a0e..c428920bc6 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; }