on master help sign in
Add clearfix to fix issue 2110
d83ee1eVlad
searx/templates/oscar/results.html+9−7
@@ -83,13 +83,15 @@
83
83
84 {% if corrections -%}
84 {% if corrections -%}
85 <div class="result">
85 <div class="result">
86+ <div class="clearfix">
86− <span class="result_header text-muted form-inline pull-left suggestion_item">{{ _('Try searching for:') }}</span>
87+ <span class="result_header text-muted form-inline pull-left suggestion_item">{{ _('Try searching for:') }}</span>
87− {% for correction in corrections -%}
88+ {% for correction in corrections -%}
88− <form method="{{ method or 'POST' }}" action="{{ url_for('index') }}" role="navigation" class="form-inline pull-left suggestion_item">{{- "" -}}
89+ <form method="{{ method or 'POST' }}" action="{{ url_for('index') }}" role="navigation" class="form-inline pull-left suggestion_item">{{- "" -}}
89− <input type="hidden" name="q" value="{{ correction.url }}">{{- "" -}}
90+ <input type="hidden" name="q" value="{{ correction.url }}">{{- "" -}}
90− <button type="submit" class="btn btn-default btn-xs">{{ correction.title }}</button>{{- "" -}}
91+ <button type="submit" class="btn btn-default btn-xs">{{ correction.title }}</button>{{- "" -}}
91− </form>
92+ </form>
92− {% endfor %}
93+ {% endfor %}
94+ </div>
93 </div>
95 </div>
94 {%- endif %}
96 {%- endif %}
95
97