Only show the alternative product image on desktop

This matches what we do with the regular product image, to make sure the
text doesn’t overlap it.
This commit is contained in:
Chris Hill-Scott
2021-02-12 14:28:19 +00:00
parent f83a8b49f1
commit e193358f78

View File

@@ -29,8 +29,10 @@ $button-shadow-size: $govuk-border-width-form-element;
}
&--alternative {
background-image: file-url('product/proposition-alternative.svg');
background-position: right 10px bottom 0;
@include media(desktop) {
background-image: file-url('product/proposition-alternative.svg');
background-position: right 10px bottom 0;
}
}
}