2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03:00

Combine multiple .thumbnail > img styles

This commit is contained in:
Zlatan Vasović
2013-10-30 10:00:28 +01:00
parent 77bf572cba
commit 688ca328c9
3 changed files with 6 additions and 11 deletions
+3 -5
View File
@@ -11,6 +11,8 @@
> img {
.img-responsive();
margin-left: auto;
margin-right: auto;
}
}
@@ -22,11 +24,7 @@ a.thumbnail.active {
border-color: @link-color;
}
// Images and captions
.thumbnail > img {
margin-left: auto;
margin-right: auto;
}
// Image captions
.thumbnail .caption {
padding: @thumbnail-caption-padding;
color: @thumbnail-caption-color;