mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-27 03:51:08 +00:00
Merge pull request #638 from mouse-reeve/list-mobile-display
List mobile display
This commit is contained in:
commit
a71171249d
2 changed files with 2 additions and 5 deletions
|
@ -100,9 +100,6 @@
|
||||||
.cover-container.is-medium {
|
.cover-container.is-medium {
|
||||||
height: 100px;
|
height: 100px;
|
||||||
}
|
}
|
||||||
.cover-container.is-small {
|
|
||||||
height: 70px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.cover-container.is-medium .no-cover div {
|
.cover-container.is-medium .no-cover div {
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
{% for item in items %}
|
{% for item in items %}
|
||||||
<li class="block pb-3">
|
<li class="block pb-3">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-content columns p-0 mb-0">
|
<div class="card-content columns p-0 mb-0 is-mobile">
|
||||||
<div class="column is-narrow pt-0 pb-0">
|
<div class="column is-narrow pt-0 pb-0">
|
||||||
<a href="{{ item.book.local_path }}">{% include 'snippets/book_cover.html' with book=item.book size="medium" %}</a>
|
<a href="{{ item.book.local_path }}">{% include 'snippets/book_cover.html' with book=item.book size="medium" %}</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -73,7 +73,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% for book in suggested_books %}
|
{% for book in suggested_books %}
|
||||||
{% if book %}
|
{% if book %}
|
||||||
<div class="block columns">
|
<div class="block columns is-mobile">
|
||||||
<div class="column is-narrow">
|
<div class="column is-narrow">
|
||||||
<a href="{{ book.local_path }}">{% include 'snippets/book_cover.html' with book=book size="small" %}</a>
|
<a href="{{ book.local_path }}">{% include 'snippets/book_cover.html' with book=book size="small" %}</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue