commit: c61e1a8165c152c13c4bc7e7ebc3ea7526e1d5bb
parent bec9906b9e0424ea879e6d2dbd425a410ed8e929
Author: Matthew Olmsted <IceGiant@users.noreply.github.com>
Date: Wed, 24 Jan 2018 10:40:42 -0800
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.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/searx/static/themes/oscar/less/pointhi/results.less b/searx/static/themes/oscar/less/pointhi/results.less
@@ -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