diff options
| author | Mark Otto <[email protected]> | 2013-11-29 23:19:04 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-11-29 23:19:04 -0800 |
| commit | e4848286c86af39c5a30c845748fdc46de8b8dd5 (patch) | |
| tree | 3a467bb30e966759b044339f15f8ce2ca58f5a45 /less | |
| parent | bf9f39270c7c6d50b0355a0b1a5e470c0820af07 (diff) | |
| download | bootstrap-e4848286c86af39c5a30c845748fdc46de8b8dd5.tar.xz bootstrap-e4848286c86af39c5a30c845748fdc46de8b8dd5.zip | |
Fix #10979: Don't use .img-thumbnail as a mixin for .thumbnail to avoid dupe and unnecessary styles
Diffstat (limited to 'less')
| -rw-r--r-- | less/thumbnails.less | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/less/thumbnails.less b/less/thumbnails.less index bc4178bbf..43e7d1d26 100644 --- a/less/thumbnails.less +++ b/less/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(); |
