mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Allow the login background to expand past viewport height
On safari the right side image can expand past the viewport height.
This commit is contained in:
parent
bf8a41af29
commit
5d868acc35
2 changed files with 2 additions and 8 deletions
|
|
@ -8,7 +8,6 @@ import {
|
|||
appleAuthRedirectURI,
|
||||
} from '../../lib/appConfig'
|
||||
import AppleLogin from 'react-apple-login'
|
||||
import { formatMessage } from '../../locales/en/messages'
|
||||
|
||||
export type LoginFormProps = {
|
||||
errorMessage?: string
|
||||
|
|
|
|||
|
|
@ -1,14 +1,8 @@
|
|||
import { Box, HStack, MediumBreakpointBox, SpanBox, VStack } from '../elements/LayoutPrimitives'
|
||||
import { LoginForm } from './LoginForm'
|
||||
import type { LoginFormProps } from './LoginForm'
|
||||
import Image from 'next/image'
|
||||
import { OmnivoreNameLogo } from '../elements/images/OmnivoreNameLogo'
|
||||
import { theme } from '../tokens/stitches.config'
|
||||
import Link from 'next/link'
|
||||
import { Star } from 'phosphor-react'
|
||||
import { Button } from '../elements/Button'
|
||||
import { googleID } from '../../lib/appConfig'
|
||||
import { useEffect, useState } from 'react'
|
||||
|
||||
export function LoginLayout(props: LoginFormProps): JSX.Element {
|
||||
return (
|
||||
|
|
@ -64,8 +58,9 @@ function MediumLoginLayout(props: LoginFormProps) {
|
|||
alignment="center"
|
||||
distribution="start"
|
||||
css={{
|
||||
height: '100vh',
|
||||
width: '100vw',
|
||||
height: '100%',
|
||||
minHeight: '100vh',
|
||||
bg: '$omnivoreYellow',
|
||||
overflowY: 'clip'
|
||||
}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue