Web: Login: use class with-background-pattern

This commit is contained in:
Viktor Fomin 2022-07-25 18:28:53 +03:00
parent 82a58efebd
commit 2f1740cb28
2 changed files with 5 additions and 14 deletions

View File

@ -570,7 +570,11 @@ const LoginForm = (props) => {
const { enabledJoin, isDesktop } = props;
return (
<LoginFormWrapper enabledJoin={enabledJoin} isDesktop={isDesktop}>
<LoginFormWrapper
className="with-background-pattern"
enabledJoin={enabledJoin}
isDesktop={isDesktop}
>
<Section>
<Section.SectionBody>
<Form {...props} />

View File

@ -225,17 +225,4 @@ export const LoginFormWrapper = styled.div`
: css`1fr`};
width: 100%;
height: 100vh;
background-image: url("/static/images/background.pattern.react.svg");
background-repeat: no-repeat;
background-attachment: fixed;
background-size: 100% 100%;
@media ${tablet} {
background-size: cover;
}
@media ${hugeMobile} {
background-image: none;
}
`;