diff options
| author | Noémi Ványi <kvch@users.noreply.github.com> | 2020-08-01 21:40:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-01 21:40:21 +0200 |
| commit | c8986ec5d40c4ad7e30ce322f91d50cdc417d4ed (patch) | |
| tree | cf7662a8319db5388a11466b8efb848ac3a63ad4 | |
| parent | d75f98c764be8290f2ae241aa67321bcce938cd6 (diff) | |
| parent | d83ee1e413f4c8a7a7cf0ba80d12945a85a63894 (diff) | |
Merge pull request #2111 from gangural/issue-2110-fix
Fix UI bug when search contain typo
Closes #2110
| -rw-r--r-- | searx/templates/oscar/results.html | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/searx/templates/oscar/results.html b/searx/templates/oscar/results.html index 7a444d19f..313f5843b 100644 --- a/searx/templates/oscar/results.html +++ b/searx/templates/oscar/results.html @@ -83,13 +83,15 @@ {% if corrections -%} <div class="result"> - <span class="result_header text-muted form-inline pull-left suggestion_item">{{ _('Try searching for:') }}</span> - {% for correction in corrections -%} - <form method="{{ method or 'POST' }}" action="{{ url_for('index') }}" role="navigation" class="form-inline pull-left suggestion_item">{{- "" -}} - <input type="hidden" name="q" value="{{ correction.url }}">{{- "" -}} - <button type="submit" class="btn btn-default btn-xs">{{ correction.title }}</button>{{- "" -}} - </form> - {% endfor %} + <div class="clearfix"> + <span class="result_header text-muted form-inline pull-left suggestion_item">{{ _('Try searching for:') }}</span> + {% for correction in corrections -%} + <form method="{{ method or 'POST' }}" action="{{ url_for('index') }}" role="navigation" class="form-inline pull-left suggestion_item">{{- "" -}} + <input type="hidden" name="q" value="{{ correction.url }}">{{- "" -}} + <button type="submit" class="btn btn-default btn-xs">{{ correction.title }}</button>{{- "" -}} + </form> + {% endfor %} + </div> </div> {%- endif %} |