on master help sign in
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.

commitc61e1a8165c152c13c4bc7e7ebc3ea7526e1d5bb authorMatthew Olmsted <IceGiant@users.noreply.github.com> dateWed 24 Jan 2018, 10:40 (9 years ago) parentbec9906
1 file changed+1−1
searx/static/themes/oscar/less/pointhi/results.less+1−1
searx/static/themes/oscar/less/pointhi/results.less+1−1
@@ -33,12 +33,12 @@
3333// image formating of results
3434.result-images {
3535 float: left !important;
36+ height: 138px;
3637}
3738
3839.img-thumbnail {
3940 margin: 5px;
4041 max-height: 128px;
41− min-height: 128px;
4242}
4343
4444// video formating of results