fix overlay click

This commit is contained in:
deflax 2024-01-19 05:23:24 +02:00
parent a863cbcd92
commit 17b104407d

View file

@ -56,6 +56,12 @@
text-align: center;
color: #fff;
}
.image-link {
display: block;
text-decoration: none;
color: inherit;
}
</style>
<title>DeflaxTV Video Gallery</title>
</head>
@ -65,7 +71,7 @@
{% for thumbnail in thumbnails %}
<div class="gallery-item">
<a href="{{ url_for('video_watch_route', file_name_no_extension=thumbnail[:-4]) }}">
<a href="{{ url_for('video_watch_route', file_name_no_extension=thumbnail[:-4]) }}" class="image-link">
<img src="{{ url_for('thumb_route', file_name=thumbnail) }}" alt="{{ thumbnail }}">
</a>
<div class="overlay">