Style fixes

This commit is contained in:
Joachim 2021-12-21 11:43:45 +01:00
parent ce6ca49620
commit 1fd44aeb5c
2 changed files with 3 additions and 2 deletions

View file

@ -561,7 +561,7 @@ ol.ordered-list li::before {
.books-grid { .books-grid {
display: grid; display: grid;
grid-template-columns: repeat(auto-fit, minmax(10em, 1fr)); grid-template-columns: repeat(auto-fit, minmax(10em, 1fr));
gap: 2em; gap: 1.5rem;
align-items: end; align-items: end;
justify-items: center; justify-items: center;
} }
@ -570,6 +570,7 @@ ol.ordered-list li::before {
grid-column: span 2; grid-column: span 2;
grid-row: span 2; grid-row: span 2;
justify-self: stretch; justify-self: stretch;
padding: 1.5rem 1.5rem 0;
} }
.books-grid .book-cover { .books-grid .book-cover {

View file

@ -117,7 +117,7 @@
<div class="column is-3 is-offset-3"> <div class="column is-3 is-offset-3">
<a href="{{ book_rating_highest.book.local_path }}">{% include 'snippets/book_cover.html' with book=book_rating_highest.book cover_class='is-w-auto-tablet is-h-l-mobile' %}</a> <a href="{{ book_rating_highest.book.local_path }}">{% include 'snippets/book_cover.html' with book=book_rating_highest.book cover_class='is-w-auto-tablet is-h-l-mobile' %}</a>
</div> </div>
<div class="column is-3"> <div class="column is-4">
{% trans "Your best rated review" %} {% trans "Your best rated review" %}
<p class="title is-4 is-serif is-italic"> <p class="title is-4 is-serif is-italic">
<a href="{{ book_rating_highest.book.local_path }}" class="has-text-link-dark"> <a href="{{ book_rating_highest.book.local_path }}" class="has-text-link-dark">