cover: tweak styles:
- `optimizeQuality` > `smooth` (CSS language evolution) - Use `auto` instead of a fixed width. - Add exceptions for heights and apply them to some previously modified templates. - Remove `is-large` exception. - Widen the content column on list curation.
This commit is contained in:
parent
23985e4357
commit
953dff90bb
14 changed files with 55 additions and 69 deletions
|
@ -32,10 +32,10 @@
|
|||
href="{{ book.local_path }}"
|
||||
aria-hidden="true"
|
||||
>
|
||||
{% include 'snippets/book_cover.html' with cover_class='is-small' %}
|
||||
{% include 'snippets/book_cover.html' %}
|
||||
</a>
|
||||
|
||||
<div class="column is-9-mobile is-10-tablet ml-3">
|
||||
<div class="column is-10-mobile is-10-tablet ml-3">
|
||||
{% include 'snippets/book_titleby.html' %}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -11,10 +11,10 @@
|
|||
|
||||
{% with list_books=list.listitem_set.all|slice:5 %}
|
||||
{% if list_books %}
|
||||
<div class="card-image columns is-mobile is-gapless is-clipped has-height">
|
||||
<div class="card-image columns is-mobile is-gapless is-clipped">
|
||||
{% for book in list_books %}
|
||||
<a class="column is-narrow" href="{{ book.book.local_path }}">
|
||||
{% include 'snippets/book_cover.html' with book=book.book cover_class='is-small' aria='show' %}
|
||||
{% include 'snippets/book_cover.html' with book=book.book cover_class='has-height is-h-small' aria='show' %}
|
||||
</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue