update image dimensions for 2xl screens
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
1312a2d6f5
commit
8eb5098c6e
|
@ -6,7 +6,7 @@
|
|||
<a href="{{post.href}}" class="flex flex-col h-full box shadow-lg hover:shadow-2xl rounded-lg overflow-hidden" target="_BLANK">
|
||||
{% if post.featuredImage %}
|
||||
<script type="text/html" data-lazy data-src="img">
|
||||
<img {{ post.featuredImage | resize('box', 'calc(100vw - 1.5rem)|640:calc(50vw - 1.5rem)|1024:calc(33vw - 1.5rem)|1152:360px') }} class="object-cover w-full h-48">
|
||||
<img {{ post.featuredImage | resize('box', 'calc(100vw - 1.5rem)|640:calc(50vw - 1.5rem)|1024:calc(33vw - 1.5rem)|1552:488px') }} class="object-cover w-full h-48 xl:h-64">
|
||||
</script>
|
||||
<div data-dest="img"></div>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue