aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2011-12-21 18:21:55 -0600
committerMark Otto <[email protected]>2011-12-21 18:21:55 -0600
commit00cbadf9943fea6a196cc01c7705d7f2c012bfa1 (patch)
tree1a97221a5e3988d840d59cbcb1fdeb987f0ed168 /lib
parentaf5793e1cd358862cf510a54dda2476b95a26ca8 (diff)
downloadbootstrap-00cbadf9943fea6a196cc01c7705d7f2c012bfa1.tar.xz
bootstrap-00cbadf9943fea6a196cc01c7705d7f2c012bfa1.zip
update thumbnails to keep images from going past edges of thumbnails
Diffstat (limited to 'lib')
-rw-r--r--lib/thumbnails.less3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/thumbnails.less b/lib/thumbnails.less
index 12626df3f..9e25f5027 100644
--- a/lib/thumbnails.less
+++ b/lib/thumbnails.less
@@ -13,6 +13,7 @@
}
.thumbnail {
display: block;
+ padding: 4px;
line-height: 1;
border: 1px solid #ddd;
.border-radius(4px);
@@ -26,7 +27,7 @@ a.thumbnail:hover {
// Images and captions
.thumbnail > img {
display: block;
- margin: 4px;
+ max-width: 100%;
}
.thumbnail .caption {
padding: 9px;