summaryrefslogtreecommitdiff
path: root/searx/templates/simple
diff options
context:
space:
mode:
authorElvyria <elvyria@tutanota.com>2026-01-10 18:18:49 +0900
committerGitHub <noreply@github.com>2026-01-10 10:18:49 +0100
commitae48f50245b294cd4c7f585957446a1018cbff95 (patch)
tree908d2c422051ad6cadaa5ca733fe4976b2fc5d98 /searx/templates/simple
parentb83e88ea78734bbe51f98f7e268d0038db5942b4 (diff)
[mod] replace #suggestions list wrapper <div> with <ul> (#5575)
This PR removes the "dot" prefix value from the `#suggestions` list's entries and adds it back via CSS instead. It makes styling easier and less hacky for those who are interested, removing the dot with just styles is currently not as easy as I would like it to be.
Diffstat (limited to 'searx/templates/simple')
-rw-r--r--searx/templates/simple/elements/suggestions.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/searx/templates/simple/elements/suggestions.html b/searx/templates/simple/elements/suggestions.html
index e90755176..e847578d7 100644
--- a/searx/templates/simple/elements/suggestions.html
+++ b/searx/templates/simple/elements/suggestions.html
@@ -1,9 +1,9 @@
<div id="suggestions" role="complementary" aria-labelledby="suggestions-title">
<details class="sidebar-collapsible">
<summary class="title" id="suggestions-title">{{ _('Suggestions') }}</summary>
- <div class="wrapper">
+ <ul class="wrapper">
{%- for suggestion in suggestions -%}
- <form method="{{ method or 'POST' }}" action="{{ url_for('search') }}">
+ <li><form method="{{ method or 'POST' }}" action="{{ url_for('search') }}">
<input type="hidden" name="q" value="{{ suggestion.url }}">
{%- for category in selected_categories -%}
<input type="hidden" name="category_{{ category }}" value="1">
@@ -15,9 +15,9 @@
{%- if timeout_limit -%}
<input type="hidden" name="timeout_limit" value="{{ timeout_limit|e }}" >
{%- endif -%}
- <input type="submit" class="suggestion" role="link" value="&bull; {{ suggestion.title }}">
- </form>
+ <input type="submit" class="suggestion" role="link" value="{{ suggestion.title }}">
+ </form></li>
{%- endfor -%}
- </div>
+ </ul>
</details>
</div>