Login:Scr:Components: change styled components
This commit is contained in:
parent
aa06f53703
commit
8b0d834db6
@ -30,63 +30,9 @@ import styled from "styled-components";
|
||||
|
||||
import { mobile, tablet } from "@docspace/shared/utils";
|
||||
|
||||
const DESKTOP_WIDTH = 384;
|
||||
const TABLET_WIDTH = 480;
|
||||
|
||||
export const StyledCreateUserContent = styled.div`
|
||||
margin: 88px auto;
|
||||
|
||||
@media ${mobile} {
|
||||
margin-top: 0px;
|
||||
}
|
||||
`;
|
||||
|
||||
export const GreetingContainer = styled.div`
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
width: ${DESKTOP_WIDTH}px;
|
||||
|
||||
margin-bottom: 32px;
|
||||
|
||||
@media ${tablet} {
|
||||
width: 100%;
|
||||
max-width: ${TABLET_WIDTH}px;
|
||||
}
|
||||
|
||||
.tooltip {
|
||||
.invitation-text {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@media ${mobile} {
|
||||
padding: 0 25px;
|
||||
}
|
||||
}
|
||||
|
||||
.portal-logo {
|
||||
width: 100%;
|
||||
max-width: 386px;
|
||||
height: 44px;
|
||||
margin: 0 auto;
|
||||
padding-bottom: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
.injected-svg {
|
||||
height: 26.56px;
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export const RegisterContainer = styled.div<{
|
||||
registrationForm?: boolean;
|
||||
}>`
|
||||
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
|
||||
|
@ -44,7 +44,10 @@ export const GreetingContainer = styled.div`
|
||||
}
|
||||
|
||||
.tooltip {
|
||||
p {
|
||||
.invitation-text {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@ -55,8 +58,10 @@ export const GreetingContainer = styled.div`
|
||||
|
||||
.portal-logo {
|
||||
width: 100%;
|
||||
max-width: 386px;
|
||||
height: 44px;
|
||||
margin: 0 auto;
|
||||
padding-bottom: 16px;
|
||||
height: 26.56px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
Loading…
Reference in New Issue
Block a user