mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
fixes #9622: reset to inline-block for img-thumbnail, but keep block for .thumbnail > img
This commit is contained in:
parent
0664b3f0da
commit
418ca6c09b
@ -437,6 +437,13 @@ body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Images */
|
||||
.bs-example > .img-circle,
|
||||
.bs-example > .img-rounded,
|
||||
.bs-example > .img-thumbnail {
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
/* Buttons */
|
||||
.bs-example > .btn,
|
||||
.bs-example > .btn-group {
|
||||
|
9
dist/css/bootstrap.css
vendored
9
dist/css/bootstrap.css
vendored
@ -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;
|
||||
|
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
@ -20,10 +20,12 @@
|
||||
.thumbnail {
|
||||
display: block;
|
||||
}
|
||||
.thumbnail > img,
|
||||
.img-thumbnail {
|
||||
.thumbnail > img {
|
||||
.img-responsive();
|
||||
}
|
||||
.img-thumbnail {
|
||||
.img-responsive(inline-block);
|
||||
}
|
||||
|
||||
// Add a hover state for linked versions only
|
||||
a.thumbnail:hover,
|
||||
|
Loading…
Reference in New Issue
Block a user