mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
fixes #9622: reset to inline-block for img-thumbnail, but keep block for .thumbnail > img
This commit is contained in:
@@ -437,6 +437,13 @@ body {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Images */
|
||||||
|
.bs-example > .img-circle,
|
||||||
|
.bs-example > .img-rounded,
|
||||||
|
.bs-example > .img-thumbnail {
|
||||||
|
margin: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
/* Buttons */
|
/* Buttons */
|
||||||
.bs-example > .btn,
|
.bs-example > .btn,
|
||||||
.bs-example > .btn-group {
|
.bs-example > .btn-group {
|
||||||
|
|||||||
Vendored
+7
-2
@@ -4592,13 +4592,18 @@ button.close {
|
|||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.thumbnail > img,
|
.thumbnail > img {
|
||||||
.img-thumbnail {
|
|
||||||
display: block;
|
display: block;
|
||||||
height: auto;
|
height: auto;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.img-thumbnail {
|
||||||
|
display: inline-block;
|
||||||
|
height: auto;
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
a.thumbnail:hover,
|
a.thumbnail:hover,
|
||||||
a.thumbnail:focus {
|
a.thumbnail:focus {
|
||||||
border-color: #428bca;
|
border-color: #428bca;
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -20,10 +20,12 @@
|
|||||||
.thumbnail {
|
.thumbnail {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
.thumbnail > img,
|
.thumbnail > img {
|
||||||
.img-thumbnail {
|
|
||||||
.img-responsive();
|
.img-responsive();
|
||||||
}
|
}
|
||||||
|
.img-thumbnail {
|
||||||
|
.img-responsive(inline-block);
|
||||||
|
}
|
||||||
|
|
||||||
// Add a hover state for linked versions only
|
// Add a hover state for linked versions only
|
||||||
a.thumbnail:hover,
|
a.thumbnail:hover,
|
||||||
|
|||||||
Reference in New Issue
Block a user