mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
Merge pull request #12620 from twbs/thumbnail-extend
use :extend in thumbnail Less
This commit is contained in:
commit
b124c4a6a4
5
dist/css/bootstrap.css
vendored
5
dist/css/bootstrap.css
vendored
@ -308,6 +308,8 @@ img {
|
|||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
.img-responsive,
|
.img-responsive,
|
||||||
|
.thumbnail > img,
|
||||||
|
.thumbnail a > img,
|
||||||
.carousel-inner > .item > img,
|
.carousel-inner > .item > img,
|
||||||
.carousel-inner > .item > a > img {
|
.carousel-inner > .item > a > img {
|
||||||
display: block;
|
display: block;
|
||||||
@ -4403,9 +4405,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;
|
||||||
}
|
}
|
||||||
|
2
dist/css/bootstrap.css.map
vendored
2
dist/css/bootstrap.css.map
vendored
File diff suppressed because one or more lines are too long
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
2
docs/dist/css/bootstrap.css.map
vendored
2
docs/dist/css/bootstrap.css.map
vendored
File diff suppressed because one or more lines are too long
2
docs/dist/css/bootstrap.min.css
vendored
2
docs/dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
@ -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