mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
use :extend in thumbnail Less
This commit is contained in:
parent
651b289e26
commit
fda8d91c86
7
dist/css/bootstrap.css
vendored
7
dist/css/bootstrap.css
vendored
@ -307,7 +307,9 @@ figure {
|
|||||||
img {
|
img {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
.img-responsive {
|
.img-responsive,
|
||||||
|
.thumbnail > img,
|
||||||
|
.thumbnail a > img {
|
||||||
display: block;
|
display: block;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
@ -4401,9 +4403,6 @@ a.list-group-item.active > .badge,
|
|||||||
}
|
}
|
||||||
.thumbnail > img,
|
.thumbnail > img,
|
||||||
.thumbnail a > img {
|
.thumbnail a > img {
|
||||||
display: block;
|
|
||||||
max-width: 100%;
|
|
||||||
height: auto;
|
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
> img,
|
> img,
|
||||||
a > img {
|
a > img {
|
||||||
.img-responsive();
|
&:extend(.img-responsive);
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user