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

5
bootstrap.css vendored
View file

@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date: Wed Dec 21 16:26:02 CST 2011
* Date: Wed Dec 21 18:20:33 CST 2011
*/
html, body {
margin: 0;
@ -2615,6 +2615,7 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
}
.thumbnail {
display: block;
padding: 4px;
line-height: 1;
border: 1px solid #ddd;
-webkit-border-radius: 4px;
@ -2632,7 +2633,7 @@ a.thumbnail:hover {
}
.thumbnail > img {
display: block;
margin: 4px;
max-width: 100%;
}
.thumbnail .caption {
padding: 9px;