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}}
|
{{#if feature_image}}
|
||||||
<style>
|
<style>
|
||||||
#featured-bg-{{id}} {
|
#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) {
|
@media(max-width: 768px) {
|
||||||
#featured-bg-{{id}} {
|
#featured-bg-{{id}} {
|
||||||
background-image: url({{img_url feature_image size='m'}});
|
background-image: url({{{img_url feature_image size='m'}}});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user