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:
Fabien Basmaison
2021-04-25 15:37:46 +02:00
parent 23985e4357
commit 953dff90bb
14 changed files with 55 additions and 69 deletions

View File

@ -8,7 +8,7 @@
<div class="column">
<a
href="{{ book.local_path }}"
>{% include 'snippets/book_cover.html' with cover_class='is-large' %}</a>
>{% include 'snippets/book_cover.html' %}</a>
{% include 'snippets/stars.html' with rating=book|rating:request.user %}
</div>

View File

@ -6,7 +6,7 @@
{% with book=book %}
<a
href="{{ book.local_path }}"
>{% include 'snippets/book_cover.html' with cover_class='is-small' %}</a>
>{% include 'snippets/book_cover.html' with cover_class='is-h-small' %}</a>
{% include 'snippets/stars.html' with rating=book|rating:request.user %}