summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Olmsted <IceGiant@users.noreply.github.com>2018-01-24 10:40:42 -0800
committerGitHub <noreply@github.com>2018-01-24 10:40:42 -0800
commitc61e1a8165c152c13c4bc7e7ebc3ea7526e1d5bb (patch)
treea4e577c4c42d431e994c23f6b7c6f93f95d81b68
parentbec9906b9e0424ea879e6d2dbd425a410ed8e929 (diff)
downloadsearxng-c61e1a8165c152c13c4bc7e7ebc3ea7526e1d5bb.tar.gz
searxng-c61e1a8165c152c13c4bc7e7ebc3ea7526e1d5bb.zip
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.
-rw-r--r--searx/static/themes/oscar/less/pointhi/results.less2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/static/themes/oscar/less/pointhi/results.less b/searx/static/themes/oscar/less/pointhi/results.less
index e7a536a92..13266c007 100644
--- 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