Use mobile image

This commit is contained in:
hiro 2020-10-21 20:25:37 +02:00
parent a55ff9a7c3
commit 5481af8133
2 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,7 @@
.donate-title {
display: none;
}
.donate-has-image-mobile {
.donate-header-image-mobile {
display: block;
width: 100%;
margin: 0 auto;

View File

@ -15,6 +15,7 @@
<div class="row pb-5">
<h2 class="mx-auto display-3 text-white text-capitalize donate-title">{{ this.title }}</h2>
<img src="{{ this.header_image | asseturl }}" class="donate-header-image" />
<img src="{{ this.header_image + '-mobile' | asseturl }}" class="donate-header-image-mobile" />
</div>
</div>
{% else %}