forked from mirrors/bookwyrm
Keep book view columns in mobile
This commit is contained in:
parent
b17caa84cd
commit
6541de4ba1
1 changed files with 3 additions and 3 deletions
|
@ -24,11 +24,11 @@
|
||||||
<form class="block" name="add-books" method="post" action="{% url 'get-started-books' %}">
|
<form class="block" name="add-books" method="post" action="{% url 'get-started-books' %}">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<h3 class="title is-5">{% trans "Suggested Books" %}</h3>
|
<h3 class="title is-5">{% trans "Suggested Books" %}</h3>
|
||||||
<fieldset name="books" class="columns scroll-x">
|
<fieldset name="books" class="columns scroll-x is-mobile">
|
||||||
{% if book_results %}
|
{% if book_results %}
|
||||||
<div class="column is-narrow content">
|
<div class="column is-narrow content">
|
||||||
<p class="help mb-0">Search results</p>
|
<p class="help mb-0">Search results</p>
|
||||||
<div class="columns">
|
<div class="columns is-mobile">
|
||||||
{% for book in book_results %}
|
{% for book in book_results %}
|
||||||
{% include 'get_started/book_preview.html' %}
|
{% include 'get_started/book_preview.html' %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
<p class="help mb-0">
|
<p class="help mb-0">
|
||||||
{% blocktrans %}Popular on {{ site_name }}{% endblocktrans %}
|
{% blocktrans %}Popular on {{ site_name }}{% endblocktrans %}
|
||||||
</p>
|
</p>
|
||||||
<div class="columns">
|
<div class="columns is-mobile">
|
||||||
{% for book in popular_books %}
|
{% for book in popular_books %}
|
||||||
{% include 'get_started/book_preview.html' %}
|
{% include 'get_started/book_preview.html' %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in a new issue