diff --git a/searx/static/themes/__common__/less/result_templates.less b/searx/static/themes/__common__/less/result_templates.less new file mode 100644 index 000000000..d67aecae4 --- /dev/null +++ b/searx/static/themes/__common__/less/result_templates.less @@ -0,0 +1,5 @@ +.osm-map-box { + height:300px; + width:100%; + margin: 10px 0; +} diff --git a/searx/static/themes/oscar/src/less/logicodev-dark/oscar.less b/searx/static/themes/oscar/src/less/logicodev-dark/oscar.less index b0dbaee06..c1a2fc236 100644 --- a/searx/static/themes/oscar/src/less/logicodev-dark/oscar.less +++ b/searx/static/themes/oscar/src/less/logicodev-dark/oscar.less @@ -1,6 +1,7 @@ @import "../logicodev/variables.less"; @import "../../../../__common__/less/new_issue.less"; @import "../../../../__common__/less/stats.less"; +@import "../../../../__common__/less/result_templates.less"; @import "../../generated/pygments-logicodev.less"; @stacked-bar-chart: rgb(213, 216, 215, 1); diff --git a/searx/static/themes/oscar/src/less/logicodev/oscar.less b/searx/static/themes/oscar/src/less/logicodev/oscar.less index 7457154cb..19e1c98f1 100644 --- a/searx/static/themes/oscar/src/less/logicodev/oscar.less +++ b/searx/static/themes/oscar/src/less/logicodev/oscar.less @@ -1,6 +1,7 @@ @import "variables.less"; @import "../../../../__common__/less/new_issue.less"; @import "../../../../__common__/less/stats.less"; +@import "../../../../__common__/less/result_templates.less"; @import "../../generated/pygments-logicodev.less"; @import "navbar.less"; diff --git a/searx/static/themes/oscar/src/less/pointhi/oscar.less b/searx/static/themes/oscar/src/less/pointhi/oscar.less index f5ea85467..5961c661e 100644 --- a/searx/static/themes/oscar/src/less/pointhi/oscar.less +++ b/searx/static/themes/oscar/src/less/pointhi/oscar.less @@ -1,6 +1,7 @@ @import "variables.less"; @import "../../../../__common__/less/new_issue.less"; @import "../../../../__common__/less/stats.less"; +@import "../../../../__common__/less/result_templates.less"; @import "../../generated/pygments-pointhi.less"; @import "footer.less"; diff --git a/searx/static/themes/simple/src/less/style.less b/searx/static/themes/simple/src/less/style.less index 49e81acbd..c30d3e706 100644 --- a/searx/static/themes/simple/src/less/style.less +++ b/searx/static/themes/simple/src/less/style.less @@ -10,6 +10,7 @@ @import "../../__common__/less/new_issue.less"; @import "../../__common__/less/stats.less"; +@import "../../__common__/less/result_templates.less"; @import (inline) "../../node_modules/normalize.css/normalize.css"; @import "../generated/ion.less"; @import "definitions.less"; diff --git a/searx/templates/oscar/result_templates/map.html b/searx/templates/oscar/result_templates/map.html index eb3fccfc0..3b7ba1111 100644 --- a/searx/templates/oscar/result_templates/map.html +++ b/searx/templates/oscar/result_templates/map.html @@ -64,7 +64,7 @@ {%- if (result.latitude and result.longitude) or result.boundingbox -%}