diff options
| author | Zlatan Vasović <[email protected]> | 2013-10-30 10:00:28 +0100 |
|---|---|---|
| committer | Zlatan Vasović <[email protected]> | 2013-10-30 10:00:28 +0100 |
| commit | 688ca328c995d112848f93266d8ffb11b5923827 (patch) | |
| tree | a02bc79ee551f412835b50618ea5d2d2da3c6e73 /less | |
| parent | 77bf572cba342f69d66f75c9b1c42c2451dae32f (diff) | |
| download | bootstrap-688ca328c995d112848f93266d8ffb11b5923827.tar.xz bootstrap-688ca328c995d112848f93266d8ffb11b5923827.zip | |
Combine multiple .thumbnail > img styles
Diffstat (limited to 'less')
| -rw-r--r-- | less/thumbnails.less | 8 |
1 files changed, 3 insertions, 5 deletions
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; |
