Update search.html

This commit is contained in:
robrobinbin 2021-02-02 21:20:38 +01:00 committed by GitHub
parent cbf1f540d6
commit ffbb1cf7cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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