Fixes heirarchy and classes in feed layout

This commit is contained in:
Mouse Reeve 2021-07-28 13:17:56 -07:00
parent b84ffeda08
commit 436afb0ebd

View file

@ -7,6 +7,7 @@
<div class="columns"> <div class="columns">
{% if user.is_authenticated %} {% if user.is_authenticated %}
<div class="column is-one-third"> <div class="column is-one-third">
<section class="block">
<h2 class="title is-5">{% trans "Your books" %}</h2> <h2 class="title is-5">{% trans "Your books" %}</h2>
{% if not suggested_books %} {% if not suggested_books %}
<p>{% trans "There are no books here right now! Try searching for a book to get started" %}</p> <p>{% trans "There are no books here right now! Try searching for a book to get started" %}</p>
@ -80,9 +81,10 @@
</div> </div>
{% endwith %} {% endwith %}
{% endif %} {% endif %}
</section>
{% if goal %} {% if goal %}
<section class="section"> <section class="block">
<div class="block"> <div class="block">
<h3 class="title is-4">{% blocktrans with yar=goal.year %}{{ year }} Reading Goal{% endblocktrans %}</h3> <h3 class="title is-4">{% blocktrans with yar=goal.year %}{{ year }} Reading Goal{% endblocktrans %}</h3>
{% include 'snippets/goal_progress.html' with goal=goal %} {% include 'snippets/goal_progress.html' with goal=goal %}