releases: make cover clickable
This commit is contained in:
parent
a77f2a86bb
commit
f21b23e849
|
@ -20,6 +20,7 @@
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
width: 300px;
|
width: 300px;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.release .infos {
|
.release .infos {
|
||||||
|
|
|
@ -12,7 +12,8 @@
|
||||||
<div class="release">
|
<div class="release">
|
||||||
<div
|
<div
|
||||||
class="cover"
|
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>
|
||||||
|
|
||||||
<div class="infos">
|
<div class="infos">
|
||||||
|
|
Loading…
Reference in a new issue