Small ui fixes

This commit is contained in:
Mouse Reeve 2020-09-30 09:00:33 -07:00
parent 1d5d7f8965
commit 9efe1a3990
5 changed files with 7 additions and 7 deletions

View file

@ -80,6 +80,7 @@ input.toggle-control:checked ~ .toggle-content {
/* --- BOOK COVERS --- */
.cover-container {
height: 250px;
width: max-content;
}
.cover-container.is-medium {
height: 150px;

View file

@ -45,7 +45,7 @@
<div class="column">
<div class="block">
<h3 class="field is-grouped">{% include 'snippets/stars.html' with rating=rating %} ({{ reviews|length }} reviews)</h3>
<h3 class="field is-grouped">{% include 'snippets/stars.html' with rating=rating %} ({{ reviews|length }} review{{ reviews|length|pluralize }})</h3>
{% include 'snippets/book_description.html' %}

View file

@ -47,11 +47,11 @@
<div id="mainNav" class="navbar-menu toggle-content">
<div class="navbar-start">
{% if request.user.is_authenticated %}
<a href="/#feed" class="navbar-item">
Feed
<a href="" class="navbar-item">
Lists
</a>
<a href="/user/{{request.user.localname}}/shelves" class="navbar-item">
Your Books
<a href="" class="navbar-item">
Groups
</a>
{% endif %}
</div>

View file

@ -19,7 +19,6 @@
<div class="media-left">
<div>
<a href="/book/{{ status.book.id }}">{% include 'snippets/book_cover.html' with book=status.book %}</a>
{% include 'snippets/rate_action.html' with book=status.book user=request.user %}
{% include 'snippets/shelve_button.html' with book=status.book %}
</div>
</div>

View file

@ -37,7 +37,7 @@
</div>
{% endfor %}
{% if not activities %}
<div class="content-container">
<div class="block">
<p>No activities yet!</a>
</div>
{% endif %}