From 688ca328c995d112848f93266d8ffb11b5923827 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zlatan=20Vasovi=C4=87?= Date: Wed, 30 Oct 2013 10:00:28 +0100 Subject: Combine multiple .thumbnail > img styles --- less/thumbnails.less | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'less') diff --git a/less/thumbnails.less b/less/thumbnails.less index df46fbdc2..a09aa9b83 100644 --- a/less/thumbnails.less +++ b/less/thumbnails.less @@ -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; -- cgit v1.2.3