summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--searx/static/themes/simple/less/style.less4
-rw-r--r--searx/templates/simple/result_templates/map.html2
2 files changed, 5 insertions, 1 deletions
diff --git a/searx/static/themes/simple/less/style.less b/searx/static/themes/simple/less/style.less
index f9bb68c5e..61c0a93de 100644
--- a/searx/static/themes/simple/less/style.less
+++ b/searx/static/themes/simple/less/style.less
@@ -332,6 +332,10 @@ article.result-images[data-vim-selected]::before {
}
}
+.hidden {
+ display: none !important;
+}
+
.torrent_result {
border-left: 10px solid @color-result-torrent-border;
padding-left: 3px;
diff --git a/searx/templates/simple/result_templates/map.html b/searx/templates/simple/result_templates/map.html
index bb62d8440..8b08bda6e 100644
--- a/searx/templates/simple/result_templates/map.html
+++ b/searx/templates/simple/result_templates/map.html
@@ -11,7 +11,7 @@
<th scope="row">{{ result.address_label or _('address') }}</th>
<td itemscope itemtype="http://schema.org/PostalAddress">
{%- if result.address.name -%}
- <strong itemprop="name" style="display: none">{{ result.address.name }}</strong>
+ <strong itemprop="name" class="hidden">{{ result.address.name }}</strong>
{%- endif -%}
{% if result.address.road -%}
<span itemprop="streetAddress">