From fdbce5d05e2ab198773e014b88eab63d6c32bcb4 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Tue, 22 Dec 2020 08:21:43 -0800 Subject: [PATCH] Adds close button to suggested post window on mobile --- bookwyrm/templates/feed.html | 18 +++++++++++++----- bookwyrm/templates/snippets/book_titleby.html | 8 ++------ 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/bookwyrm/templates/feed.html b/bookwyrm/templates/feed.html index aec76acc..40e6dad1 100644 --- a/bookwyrm/templates/feed.html +++ b/bookwyrm/templates/feed.html @@ -44,18 +44,26 @@
diff --git a/bookwyrm/templates/snippets/book_titleby.html b/bookwyrm/templates/snippets/book_titleby.html index d8b84646..b01ede4c 100644 --- a/bookwyrm/templates/snippets/book_titleby.html +++ b/bookwyrm/templates/snippets/book_titleby.html @@ -1,9 +1,5 @@ - - {{ book.title }} - +{{ book.title }} {% if book.authors %} - - by {% include 'snippets/authors.html' with book=book %} - +by {% include 'snippets/authors.html' with book=book %} {% endif %}