2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-30 15:24:08 +03:00

update thumbnails to keep images from going past edges of thumbnails

This commit is contained in:
Mark Otto
2011-12-21 18:21:55 -06:00
parent af5793e1cd
commit 00cbadf994
3 changed files with 7 additions and 5 deletions
+2 -1
View File
@@ -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;