diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-01-15 00:41:47 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-01-15 00:41:47 -0800 |
commit | 00bbe2124fc04f252a3074058bcb4871d970ae70 (patch) | |
tree | 3fab8b9283b63ee7c363ec30298369769c563680 /fatcat_scholar/templates/search.html | |
parent | b8ce4a29d8ba996c6b5eb9c1dd233d2161b70524 (diff) | |
download | fatcat-scholar-00bbe2124fc04f252a3074058bcb4871d970ae70.tar.gz fatcat-scholar-00bbe2124fc04f252a3074058bcb4871d970ae70.zip |
html: improvements to reactive search filters and main serp column
Diffstat (limited to 'fatcat_scholar/templates/search.html')
-rw-r--r-- | fatcat_scholar/templates/search.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/fatcat_scholar/templates/search.html b/fatcat_scholar/templates/search.html index d91b78a..85c6a89 100644 --- a/fatcat_scholar/templates/search.html +++ b/fatcat_scholar/templates/search.html @@ -33,12 +33,12 @@ <details class="search_filters"> <summary style="float: right;"><i class="filter icon"></i>{{ _("Filters") }}</summary> - <p> - {{ search_macros.query_option(query.time_options, query.filter_time) }} - {{ search_macros.query_option(query.type_options, query.filter_type) }} - {{ search_macros.query_option(query.availability_options, query.filter_availability) }} - {{ search_macros.query_option(query.sort_options, query.sort_order) }} - </p> + <div style="display: flex; align-items: flex-start; column-gap: 2em; row-gap: 2em; flex-wrap: wrap; padding-bottom:1.5em;"> + {{ search_macros.query_option(query.time_options, query.filter_time) }} + {{ search_macros.query_option(query.type_options, query.filter_type) }} + {{ search_macros.query_option(query.availability_options, query.filter_availability) }} + {{ search_macros.query_option(query.sort_options, query.sort_order) }} + </div> </details> {% if hits %} @@ -58,7 +58,7 @@ {% endif %} </div> -<div class="ui equal height stackable divided grid" style="margin-top: 1em;"> +<div class="ui equal height divided grid" style="margin-top: 1em;"> <nav class="ui tablet-hide two wide column"> {% if hits %} @@ -98,7 +98,7 @@ </nav> - <div class="ui fourteen wide column"> + <div class="ui fourteen wide column serp-column"> {% if search_error %} <div class="ui icon error message"> <i class="ban icon"></i> |