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> </p>
<!-- POST MEDIA/THUMBNAIL --> <!-- POST MEDIA/THUMBNAIL -->
{% if (prefs.layout.is_empty() || prefs.layout == "card") && post.post_type == "image" %} {% 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 %}" <svg class="post_media {% if post.media.height / post.media.width < 2 %}short{% endif %}"
width="{{ post.media.width }}px" width="{{ post.media.width }}px"
height="{{ post.media.height }}px" height="{{ post.media.height }}px"