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