Browse Source

[fix] do not stretch images - fixes #1262

Adam Tauber 4 years ago
parent
commit
43f7b84a59

+ 5 - 0
searx/static/themes/oscar/css/logicodev-dark.css

@@ -267,6 +267,11 @@ input[type=checkbox]:not(:checked) + .label_hide_if_checked + .label_hide_if_not
   outline: 0 none;
   position: relative;
 }
+@media screen and (max-width: 75em) {
+  .img-thumbnail {
+    object-fit: cover;
+  }
+}
 .infobox .panel-heading {
   background-color: #f6f9fa;
 }

File diff suppressed because it is too large
+ 0 - 0
searx/static/themes/oscar/css/logicodev-dark.min.css


+ 5 - 0
searx/static/themes/oscar/css/logicodev.css

@@ -240,6 +240,11 @@ input[type=checkbox]:not(:checked) + .label_hide_if_checked + .label_hide_if_not
   outline: 0 none;
   position: relative;
 }
+@media screen and (max-width: 75em) {
+  .img-thumbnail {
+    object-fit: cover;
+  }
+}
 .infobox .panel-heading {
   background-color: #f6f9fa;
 }

File diff suppressed because it is too large
+ 0 - 0
searx/static/themes/oscar/css/logicodev.min.css


+ 6 - 0
searx/static/themes/oscar/less/logicodev/results.less

@@ -185,3 +185,9 @@
     outline: 0 none;
     position: relative;
 }
+
+@media screen and (max-width: 75em) {
+    .img-thumbnail {
+        object-fit: cover;
+    }
+}

Some files were not shown because too many files changed in this diff