Browse Source

set max-height on infobox's images

Marc Abonce Seguin 4 years ago
parent
commit
001eb047cd

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

@@ -299,6 +299,9 @@ input[type=checkbox]:not(:checked) + .label_hide_if_checked + .label_hide_if_not
   font-family: "DejaVu Serif", Georgia, Cambria, "Times New Roman", Times, serif !important;
   font-style: italic;
 }
+.infobox img {
+  max-height: 250px;
+}
 .infobox .btn {
   background-color: #007ab8;
   border: none;

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


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

@@ -272,6 +272,9 @@ input[type=checkbox]:not(:checked) + .label_hide_if_checked + .label_hide_if_not
   font-family: "DejaVu Serif", Georgia, Cambria, "Times New Roman", Times, serif !important;
   font-style: italic;
 }
+.infobox img {
+  max-height: 250px;
+}
 .infobox .btn {
   background-color: #007ab8;
   border: none;

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


+ 3 - 0
searx/static/themes/oscar/css/pointhi.css

@@ -156,6 +156,9 @@ input[type=checkbox]:not(:checked) + .label_hide_if_checked + .label_hide_if_not
   outline: 0 none;
   position: relative;
 }
+.infobox img {
+  max-height: 250px;
+}
 .infobox .infobox_part {
   margin-bottom: 20px;
   word-wrap: break-word;

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


+ 4 - 0
searx/static/themes/oscar/less/logicodev/infobox.less

@@ -14,6 +14,10 @@
         font-style: italic;
     }
 
+    img{
+        max-height: "250px";
+    }
+
     .btn{
         background-color: @dark-blue;
         border: none;

+ 4 - 0
searx/static/themes/oscar/less/pointhi/infobox.less

@@ -1,4 +1,8 @@
 .infobox {
+    img{
+        max-height: 250px;
+    }
+
     .infobox_part {
         margin-bottom: 20px;
         word-wrap: break-word;

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