fix: #featured-bg-{{id}} not resizing Unsplash images (#549)

This commit is contained in:
Paulo Pertierra
2024-09-27 14:25:42 +02:00
committed by GitHub
parent 493be199b3
commit 5aaee33103
+2 -2
View File
@@ -54,11 +54,11 @@ into the {body} of the default.hbs template --}}
{{#if feature_image}}
<style>
#featured-bg-{{id}} {
background-image: url({{img_url feature_image size='l'}});
background-image: url({{{img_url feature_image size='l'}}});
}
@media(max-width: 768px) {
#featured-bg-{{id}} {
background-image: url({{img_url feature_image size='m'}});
background-image: url({{{img_url feature_image size='m'}}});
}
}
</style>