aboutsummaryrefslogtreecommitdiff
path: root/less/thumbnails.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-08-15 13:40:21 -0700
committerMark Otto <[email protected]>2013-08-15 13:40:21 -0700
commit418ca6c09b393096e80aef9dde0072943f6d7c63 (patch)
treee704c2856ea60432a9f30fcd5adc64a143017edf /less/thumbnails.less
parent0664b3f0da25a99c5e0d88fdc566480baeaf83aa (diff)
downloadbootstrap-418ca6c09b393096e80aef9dde0072943f6d7c63.tar.xz
bootstrap-418ca6c09b393096e80aef9dde0072943f6d7c63.zip
fixes #9622: reset to inline-block for img-thumbnail, but keep block for .thumbnail > img
Diffstat (limited to 'less/thumbnails.less')
-rw-r--r--less/thumbnails.less6
1 files changed, 4 insertions, 2 deletions
diff --git a/less/thumbnails.less b/less/thumbnails.less
index d209412dc..76f79b9e5 100644
--- a/less/thumbnails.less
+++ b/less/thumbnails.less
@@ -20,10 +20,12 @@
.thumbnail {
display: block;
}
-.thumbnail > img,
-.img-thumbnail {
+.thumbnail > img {
.img-responsive();
}
+.img-thumbnail {
+ .img-responsive(inline-block);
+}
// Add a hover state for linked versions only
a.thumbnail:hover,