From 9efe1a3990d71ecd7b95e5eeeac7fd9a55cd8a8c Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Wed, 30 Sep 2020 09:00:33 -0700 Subject: [PATCH] Small ui fixes --- bookwyrm/static/css/format.css | 1 + bookwyrm/templates/book.html | 2 +- bookwyrm/templates/layout.html | 8 ++++---- bookwyrm/templates/snippets/status_content.html | 1 - bookwyrm/templates/user.html | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bookwyrm/static/css/format.css b/bookwyrm/static/css/format.css index 51aea357..134df44c 100644 --- a/bookwyrm/static/css/format.css +++ b/bookwyrm/static/css/format.css @@ -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; diff --git a/bookwyrm/templates/book.html b/bookwyrm/templates/book.html index 5ce035e7..5e88e137 100644 --- a/bookwyrm/templates/book.html +++ b/bookwyrm/templates/book.html @@ -45,7 +45,7 @@
-

{% include 'snippets/stars.html' with rating=rating %} ({{ reviews|length }} reviews)

+

{% include 'snippets/stars.html' with rating=rating %} ({{ reviews|length }} review{{ reviews|length|pluralize }})

{% include 'snippets/book_description.html' %} diff --git a/bookwyrm/templates/layout.html b/bookwyrm/templates/layout.html index 61187e8a..61da35c5 100644 --- a/bookwyrm/templates/layout.html +++ b/bookwyrm/templates/layout.html @@ -47,11 +47,11 @@ {% endfor %} {% if not activities %} -
+

No activities yet!

{% endif %}