1
0
Fork 0

releases: make cover clickable

This commit is contained in:
dece 2021-08-23 16:50:44 +02:00
parent a77f2a86bb
commit f21b23e849
2 changed files with 3 additions and 1 deletions

View file

@ -20,6 +20,7 @@
flex-shrink: 0;
width: 300px;
background-size: cover;
cursor: pointer;
}
.release .infos {

View file

@ -12,7 +12,8 @@
<div class="release">
<div
class="cover"
style="background-image: url('{{ MEDIA_URL }}{{ release.cover }}')">
style="background-image: url('{{ MEDIA_URL }}{{ release.cover }}')"
onclick='window.location="{% url 'release' release.tag|lower %}"'>
</div>
<div class="infos">