Login:Src:Components: change confirm layout

This commit is contained in:
Darya Umrikhina 2024-08-09 14:12:46 +04:00
parent 04c7284eec
commit d22ec582cd

View File

@ -65,35 +65,48 @@ export const StyledPage = styled.div`
inset-inline-end: 28px; inset-inline-end: 28px;
top: 28px; top: 28px;
} }
`;
export const StyledContent = styled.div` .pageLoader {
min-height: 100vh; display: flex;
flex: 1 0 auto; justify-content: center;
flex-direction: column;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
@media ${mobile} {
width: 100%;
justify-content: start;
min-height: 100%;
} }
`; `;
export const StyledBody = styled.div` export const StyledBody = styled.div`
display: flex; min-height: 100vh;
flex-direction: column; -webkit-box-orient: vertical;
align-items: center; -webkit-box-direction: normal;
margin: 56px auto;
.content-center {
min-height: calc(100vh - 112px);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin: 56px auto;
@media ${mobile} {
justify-content: start;
margin: 0 auto;
min-height: 100%;
}
}
.content-top {
display: flex;
flex-direction: column;
align-items: center;
margin: 88px auto;
@media ${mobile} {
margin: 0 auto;
}
}
@media ${mobile} { @media ${mobile} {
width: 100%; width: 100%;
margin: 0 auto; margin: 0 auto;
min-height: 100%;
} }
.logo-wrapper { .logo-wrapper {
@ -125,6 +138,10 @@ export const StyledBody = styled.div`
align-items: center; align-items: center;
justify-content: center; justify-content: center;
padding-bottom: 40px; padding-bottom: 40px;
@media ${mobile} {
display: none;
}
} }
.password-field-wrapper { .password-field-wrapper {
@ -155,6 +172,10 @@ export const StyledBody = styled.div`
.app-code-text { .app-code-text {
margin-bottom: 8px; margin-bottom: 8px;
} }
.app-code-continue-btn {
margin-top: 8px;
}
`; `;
export const ButtonsWrapper = styled.div` export const ButtonsWrapper = styled.div`