mirror of
https://github.com/searxng/searxng.git
synced 2025-07-27 15:12:20 +02:00
[fix] make oscar theme more CSP compliant - default-image-style
Add default-image-style in:: searx/static/themes/oscar/src/less/result_templates.less Replaced style= in files:: ./oscar/result_templates/default.html:19: <img src="{{ image_proxify(result.img_src or result.thumbnail) }}" title="{{ result.title|striptags }}" style="width: auto; max-height: 60px; min-height: 60px;" class="col-xs-2 col-sm-4 col-md-4 result-content"> ./oscar/result_templates/files.html:24:<img src="{{ image_proxify(result.img_src) }}" alt="{{ result.title|striptags }}" title="{{ result.title|striptags }}" style="width: auto; max-height: 60px; min-height: 60px;" class="col-xs-2 col-sm-4 col-md-4 result-content"> Reported-by: https://github.com/searxng/searxng/issues/57 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
e564cef0fe
commit
9d106ae972
6 changed files with 10 additions and 2 deletions
|
@ -2,6 +2,7 @@
|
|||
@import "../../../../__common__/less/new_issue.less";
|
||||
@import "../../../../__common__/less/stats.less";
|
||||
@import "../../../../__common__/less/result_templates.less";
|
||||
@import "../../less/result_templates.less";
|
||||
@import "../../generated/pygments-logicodev.less";
|
||||
|
||||
@import "navbar.less";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue