Update user.html

This commit is contained in:
robrobinbin 2021-02-02 21:21:29 +01:00 committed by GitHub
parent 24bc758090
commit 1bcb070fbb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,7 +49,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"