mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-21 13:24:08 +03:00
update thumbnails to keep images from going past edges of thumbnails
This commit is contained in:
Vendored
+3
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user