diff options
| author | Mark Otto <[email protected]> | 2013-10-30 07:28:24 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-10-30 07:28:24 -0700 |
| commit | 697a37e73f30bf2f5897b976ff38a427dd78212e (patch) | |
| tree | a02bc79ee551f412835b50618ea5d2d2da3c6e73 /less | |
| parent | 77bf572cba342f69d66f75c9b1c42c2451dae32f (diff) | |
| parent | 688ca328c995d112848f93266d8ffb11b5923827 (diff) | |
| download | bootstrap-697a37e73f30bf2f5897b976ff38a427dd78212e.tar.xz bootstrap-697a37e73f30bf2f5897b976ff38a427dd78212e.zip | |
Merge pull request #11282 from ZDroid/combination
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; |
