Merge pull request #994 from omnivore-app/fix/landing-image

Fix image-set syntax for the login page
This commit is contained in:
Jackson Harper 2022-07-19 16:18:40 -07:00 committed by GitHub
commit 07a03b4d48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,7 +89,11 @@ function OmnivoreIllustration({ isLargeLayout }: OmnivoreIllustrationProps) {
backgroundSize: 'cover',
backgroundRepeat: 'no-repeat',
backgroundPositionY: '70px',
backgroundImage: `image-set(
backgroundImage: `-webkit-image-set(
url('/static/images/landing-illustration.png') 1x,
url('/static/images/landing-illustration@2x.png') 2x
)`,
'background-image': `image-set(
url('/static/images/landing-illustration.png') 1x,
url('/static/images/landing-illustration@2x.png') 2x
)`