Skip to content

Commit

Permalink
(2.9.2) Added missing closing brackets in partials/header.hbs styles
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Andy <[email protected]>
  • Loading branch information
pascalandy committed Feb 12, 2019
1 parent 265453f commit 85544a2
Showing 1 changed file with 23 additions and 21 deletions.
44 changes: 23 additions & 21 deletions partials/header.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -18,28 +18,30 @@ with a `no-image` class so we can style it accordingly.
background-image: url({{img_url background size='xl'}});
}
@media(max-width: 1000px) {
.responsive-header-img {
background-image: url({{img_url background size='l'}});
background-image: -webkit-image-set(
url({{img_url background size='l'}}) 1x,
url({{img_url background size='xl'}}) 2x
);
background-image: image-set(
url({{img_url background size='l'}}) 1x,
url({{img_url background size='xl'}}) 2x
);
.responsive-header-img {
background-image: url({{img_url background size='l'}});
background-image: -webkit-image-set(
url({{img_url background size='l'}}) 1x,
url({{img_url background size='xl'}}) 2x
);
background-image: image-set(
url({{img_url background size='l'}}) 1x,
url({{img_url background size='xl'}}) 2x
);
}
}
@media(max-width: 600px) {
.responsive-header-img {
background-image: url({{img_url background size='m'}});
background-image: -webkit-image-set(
url({{img_url background size='m'}}) 1x,
url({{img_url background size='l'}}) 2x
);
background-image: image-set(
url({{img_url background size='m'}}) 1x,
url({{img_url background size='l'}}) 2x
);
.responsive-header-img {
background-image: url({{img_url background size='m'}});
background-image: -webkit-image-set(
url({{img_url background size='m'}}) 1x,
url({{img_url background size='l'}}) 2x
);
background-image: image-set(
url({{img_url background size='m'}}) 1x,
url({{img_url background size='l'}}) 2x
);
}
}
</style>
<header class="site-header outer responsive-header-img">
Expand All @@ -48,4 +50,4 @@ with a `no-image` class so we can style it accordingly.

<header class="site-header outer no-image">

{{/if}}
{{/if}}

0 comments on commit 85544a2

Please sign in to comment.