Preserve image aspect ratio in results

Noticed that images are often distorted in the results due to a hard minimum height.  This keeps the 4-per-row image results consistent in row height without distorting wider images.
This commit is contained in:
Matthew Olmsted 2018-01-24 10:40:42 -08:00 committed by GitHub
parent bec9906b9e
commit c61e1a8165
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,12 +33,12 @@
// image formating of results // image formating of results
.result-images { .result-images {
float: left !important; float: left !important;
height: 138px;
} }
.img-thumbnail { .img-thumbnail {
margin: 5px; margin: 5px;
max-height: 128px; max-height: 128px;
min-height: 128px;
} }
// video formating of results // video formating of results