Update subreddit.html

This commit is contained in:
robrobinbin 2021-02-02 21:21:11 +01:00 committed by GitHub
parent ffbb1cf7cd
commit 24bc758090
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@
</p>
<!-- POST MEDIA/THUMBNAIL -->
{% if (prefs.layout.is_empty() || prefs.layout == "card") && post.post_type == "image" %}
<a href="{{ post.media.url }}" style="display:contents" >
<a href="{{ post.media.url }}" class="post_media_wrapper" >
<svg class="post_media {% if post.media.height / post.media.width < 2 %}short{% endif %}"
width="{{ post.media.width }}px"
height="{{ post.media.height }}px"