Commit 418ca6c0 authored by Mark Otto's avatar Mark Otto

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

parent 0664b3f0
......@@ -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 {
......
......@@ -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;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment