fix: #featured-bg-{{id}} not resizing Unsplash images (#549)
This commit is contained in:
parent
493be199b3
commit
5aaee33103
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user