From 0eb447117c5a9ada79ef3d22a6878215ee1d5510 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Tue, 19 Jul 2022 16:00:14 -0700 Subject: [PATCH] Fix image-set syntax for the login page --- packages/web/components/templates/LoginLayout.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/web/components/templates/LoginLayout.tsx b/packages/web/components/templates/LoginLayout.tsx index 3b491b188..cb097e3af 100644 --- a/packages/web/components/templates/LoginLayout.tsx +++ b/packages/web/components/templates/LoginLayout.tsx @@ -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 )`