Skip to content

Commit

Permalink
(less) Fix twbs#10979: Don't use .img-thumbnail as a mixin for .thumb…
Browse files Browse the repository at this point in the history
…nail to avoid dupe and unnecessary styles
  • Loading branch information
mdo committed Nov 30, 2013
1 parent 5eabb6a commit 7628109
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions thumbnails.less
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 7628109

Please sign in to comment.