mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-27 03:51:08 +00:00
Apply review suggestions
This commit is contained in:
parent
faa52503a3
commit
cd89271724
2 changed files with 5 additions and 2 deletions
|
@ -179,7 +179,7 @@ button .button-invisible-overlay {
|
||||||
|
|
||||||
button:hover .button-invisible-overlay,
|
button:hover .button-invisible-overlay,
|
||||||
button:active .button-invisible-overlay,
|
button:active .button-invisible-overlay,
|
||||||
button:focus .button-invisible-overlay {
|
button:focus-visible .button-invisible-overlay {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -74,6 +74,9 @@
|
||||||
<span>{{ book.alt_text }}</span>
|
<span>{{ book.alt_text }}</span>
|
||||||
<span>{% trans "Click to add cover" %}</span>
|
<span>{% trans "Click to add cover" %}</span>
|
||||||
</span>
|
</span>
|
||||||
|
<span class="button-invisible-overlay has-text-centered">
|
||||||
|
{% trans "Click to add cover" %}
|
||||||
|
</span>
|
||||||
</button>
|
</button>
|
||||||
{% include 'book/cover_add_modal.html' with book=book controls_text="add_cover" controls_uid=book.id %}
|
{% include 'book/cover_add_modal.html' with book=book controls_text="add_cover" controls_uid=book.id %}
|
||||||
{% if request.GET.cover_error %}
|
{% if request.GET.cover_error %}
|
||||||
|
@ -87,7 +90,7 @@
|
||||||
{% if book.cover %}
|
{% if book.cover %}
|
||||||
<button type="button" data-modal-open="cover_show_modal" class="cover-container is-h-m-mobile is-relative">
|
<button type="button" data-modal-open="cover_show_modal" class="cover-container is-h-m-mobile is-relative">
|
||||||
{% include 'snippets/book_cover.html' with size='xxlarge' size_mobile='medium' book=book cover_class='is-h-m-mobile' %}
|
{% include 'snippets/book_cover.html' with size='xxlarge' size_mobile='medium' book=book cover_class='is-h-m-mobile' %}
|
||||||
<span class="button-invisible-overlay">
|
<span class="button-invisible-overlay has-text-centered">
|
||||||
{% trans "Click to enlarge" %}
|
{% trans "Click to enlarge" %}
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
|
|
Loading…
Reference in a new issue