1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 00:29:52 +02:00

fixes #9622: reset to inline-block for img-thumbnail, but keep block for .thumbnail > img

This commit is contained in:
Mark Otto
2013-08-15 13:40:21 -07:00
parent 0664b3f0da
commit 418ca6c09b
4 changed files with 19 additions and 5 deletions

View File

@@ -4592,13 +4592,18 @@ button.close {
display: block;
}
.thumbnail > img,
.img-thumbnail {
.thumbnail > img {
display: block;
height: auto;
max-width: 100%;
}
.img-thumbnail {
display: inline-block;
height: auto;
max-width: 100%;
}
a.thumbnail:hover,
a.thumbnail:focus {
border-color: #428bca;