logo

searx

My custom branche(s) on searx, a meta-search engine
commit: a8293eefb75307a0cfce38a15d5c5be10e0599e5
parent: cd34235f46efc931a8ad361aef70ad79911edd90
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 28 Jul 2018 23:27:59 +0200

Fix the sidebar taking too much vertical space

Diffstat:

Msearx/static/themes/lanodan/css/searx.min.css4+---
Msearx/templates/lanodan/results.html3+--
2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/searx/static/themes/lanodan/css/searx.min.css b/searx/static/themes/lanodan/css/searx.min.css @@ -31,9 +31,6 @@ html, body { #results { margin: 0 2em; } -#urls { - display: table; -} #pagination_prev { float: left; } @@ -86,6 +83,7 @@ p { #sidebar { float: right; min-width: 25ch; + max-width: 50ch; margin-left: .5em; padding-left: .5em; border-left: 1pt solid; diff --git a/searx/templates/lanodan/results.html b/searx/templates/lanodan/results.html @@ -94,7 +94,6 @@ </div> {% endif %} - <div id="urls"> {% for result in results %} {% set index = loop.index %} {% if result['template'] %} @@ -106,7 +105,7 @@ {% if not results and not answers %} {% include 'lanodan/messages/no_results.html' %} {% endif %} - </div> + <div id="backToTop"> <a href="#">{{ _('Back to Top') }} ⏫</a> </div>