forked from mirrors/bookwyrm
Small ui fixes
This commit is contained in:
parent
1d5d7f8965
commit
9efe1a3990
5 changed files with 7 additions and 7 deletions
|
@ -80,6 +80,7 @@ input.toggle-control:checked ~ .toggle-content {
|
||||||
/* --- BOOK COVERS --- */
|
/* --- BOOK COVERS --- */
|
||||||
.cover-container {
|
.cover-container {
|
||||||
height: 250px;
|
height: 250px;
|
||||||
|
width: max-content;
|
||||||
}
|
}
|
||||||
.cover-container.is-medium {
|
.cover-container.is-medium {
|
||||||
height: 150px;
|
height: 150px;
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
|
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<div class="block">
|
<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' %}
|
{% include 'snippets/book_description.html' %}
|
||||||
|
|
||||||
|
|
|
@ -47,11 +47,11 @@
|
||||||
<div id="mainNav" class="navbar-menu toggle-content">
|
<div id="mainNav" class="navbar-menu toggle-content">
|
||||||
<div class="navbar-start">
|
<div class="navbar-start">
|
||||||
{% if request.user.is_authenticated %}
|
{% if request.user.is_authenticated %}
|
||||||
<a href="/#feed" class="navbar-item">
|
<a href="" class="navbar-item">
|
||||||
Feed
|
Lists
|
||||||
</a>
|
</a>
|
||||||
<a href="/user/{{request.user.localname}}/shelves" class="navbar-item">
|
<a href="" class="navbar-item">
|
||||||
Your Books
|
Groups
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
<div class="media-left">
|
<div class="media-left">
|
||||||
<div>
|
<div>
|
||||||
<a href="/book/{{ status.book.id }}">{% include 'snippets/book_cover.html' with book=status.book %}</a>
|
<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 %}
|
{% include 'snippets/shelve_button.html' with book=status.book %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if not activities %}
|
{% if not activities %}
|
||||||
<div class="content-container">
|
<div class="block">
|
||||||
<p>No activities yet!</a>
|
<p>No activities yet!</a>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue