From cd89271724023913733b013dc18943025cc7a052 Mon Sep 17 00:00:00 2001 From: Joachim Date: Thu, 30 Dec 2021 10:43:23 +0100 Subject: [PATCH] Apply review suggestions --- bookwyrm/static/css/bookwyrm.css | 2 +- bookwyrm/templates/book/book.html | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/bookwyrm/static/css/bookwyrm.css b/bookwyrm/static/css/bookwyrm.css index 6f6a9f264..134023138 100644 --- a/bookwyrm/static/css/bookwyrm.css +++ b/bookwyrm/static/css/bookwyrm.css @@ -179,7 +179,7 @@ button .button-invisible-overlay { button:hover .button-invisible-overlay, button:active .button-invisible-overlay, -button:focus .button-invisible-overlay { +button:focus-visible .button-invisible-overlay { opacity: 1; } diff --git a/bookwyrm/templates/book/book.html b/bookwyrm/templates/book/book.html index bdca078a0..4903da874 100644 --- a/bookwyrm/templates/book/book.html +++ b/bookwyrm/templates/book/book.html @@ -74,6 +74,9 @@ {{ book.alt_text }} {% trans "Click to add cover" %} + + {% trans "Click to add cover" %} + {% include 'book/cover_add_modal.html' with book=book controls_text="add_cover" controls_uid=book.id %} {% if request.GET.cover_error %} @@ -87,7 +90,7 @@ {% if book.cover %}