aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/templates/search.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-01-25 18:22:49 -0800
committerBryan Newbold <bnewbold@archive.org>2021-01-25 18:22:49 -0800
commite2c023915559b1230cf19a06734c6f5ed76148e3 (patch)
treefb2cfcdf7ecaab81da02a466bc4c152e0074d61b /fatcat_scholar/templates/search.html
parent818776e0854f5f723a08ab0ddaffe00f8b85a67c (diff)
downloadfatcat-scholar-e2c023915559b1230cf19a06734c6f5ed76148e3.tar.gz
fatcat-scholar-e2c023915559b1230cf19a06734c6f5ed76148e3.zip
html: fix pagination box on mobile
Diffstat (limited to 'fatcat_scholar/templates/search.html')
-rw-r--r--fatcat_scholar/templates/search.html12
1 files changed, 8 insertions, 4 deletions
diff --git a/fatcat_scholar/templates/search.html b/fatcat_scholar/templates/search.html
index 2f2149e..5c7d860 100644
--- a/fatcat_scholar/templates/search.html
+++ b/fatcat_scholar/templates/search.html
@@ -120,8 +120,10 @@
{% elif hits and hits.results %}
{% if hits.results %}
{% if hits.offset != 0 %}
- <div style="text-align: center; margin-bottom: 2em;">
- {{ search_macros.search_pagination(hits) }}
+ <div style="margin-bottom: 2em; width: 100%;">
+ <div class="search-pagination">
+ {{ search_macros.search_pagination(hits) }}
+ </div>
</div>
{% endif %}
@@ -132,8 +134,10 @@
{% endfor %}
{% if hits.count_found > hits.limit %}
- <div style="text-align: center; margin-top: 2em;">
- {{ search_macros.search_pagination(hits) }}
+ <div style="margin-top: 2em; width: 100%;">
+ <div class="search-pagination">
+ {{ search_macros.search_pagination(hits) }}
+ </div>
</div>
{% endif %}
{% endif %}