Merge pull request #635 from omnivore-app/fix/login-layout

Fix layout of responsive image on the login page
This commit is contained in:
Jackson Harper 2022-05-16 16:38:24 -07:00 committed by GitHub
commit 20ea93168f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,8 +59,7 @@ function MediumLoginLayout(props: LoginFormProps) {
distribution="start"
css={{
width: '100vw',
height: '100%',
minHeight: '100vh',
height: '100vh',
bg: '$omnivoreYellow',
overflowY: 'clip'
}}
@ -84,7 +83,7 @@ type OmnivoreIllustrationProps = {
function OmnivoreIllustration({ isLargeLayout }: OmnivoreIllustrationProps) {
return (
<img
style={{ marginRight: '57px' }}
style={{ marginRight: '57px', objectFit: 'fill' }}
width='100%'
srcSet="/static/images/landing-illustration.png 1x,
/static/images/landing-illustration@2x.png 2x"