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

fixes #8345: use inline-block on .img-responsive

This commit is contained in:
Mark Otto
2013-07-01 19:42:26 -07:00
parent 9da90adb4c
commit 08b3515fd7
5 changed files with 11 additions and 18 deletions
+5 -9
View File
@@ -329,7 +329,7 @@ img {
}
.img-responsive {
display: block;
display: inline-block;
height: auto;
max-width: 100%;
}
@@ -3957,19 +3957,15 @@ button.close {
transition: all 0.2s ease-in-out;
}
.thumbnail > img,
.img-thumbnail {
display: block;
height: auto;
max-width: 100%;
}
.thumbnail {
display: block;
}
.thumbnail > img,
.img-thumbnail {
display: inline-block;
height: auto;
max-width: 100%;
}
a.thumbnail:hover,
@@ -4308,7 +4304,7 @@ a.list-group-item.active > .badge,
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
display: block;
display: inline-block;
height: auto;
max-width: 100%;
line-height: 1;