From 7628109b4f5903d6f1dbf4660618eabbeea1e4dc Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 29 Nov 2013 23:19:04 -0800 Subject: [PATCH] (less) Fix #10979: Don't use .img-thumbnail as a mixin for .thumbnail to avoid dupe and unnecessary styles --- thumbnails.less | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/thumbnails.less b/thumbnails.less index bc4178bbfff6..43e7d1d26bb4 100644 --- a/thumbnails.less +++ b/thumbnails.less @@ -5,9 +5,14 @@ // Mixin and adjust the regular image class .thumbnail { - .img-thumbnail(); - display: block; // Override the inline-block from `.img-thumbnail` + display: block; + padding: @thumbnail-padding; margin-bottom: @line-height-computed; + line-height: @line-height-base; + background-color: @thumbnail-bg; + border: 1px solid @thumbnail-border; + border-radius: @thumbnail-border-radius; + .transition(all .2s ease-in-out); > img { .img-responsive();