Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit c61e1a81 authored by Matthew Olmsted's avatar Matthew Olmsted Committed by GitHub
Browse files

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.
parent bec9906b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -33,12 +33,12 @@
// image formating of results
.result-images {
    float: left !important;
    height: 138px;
}

.img-thumbnail {
    margin: 5px;
    max-height: 128px;
    min-height: 128px;
}

// video formating of results