accounts/SignIn: various visual improvement

This commit is contained in:
thislight 2024-12-23 18:31:56 +08:00
parent a7bca9bd67
commit 771de51228
No known key found for this signature in database
GPG key ID: FCFE5192241CCD4E
2 changed files with 32 additions and 11 deletions

27
src/accounts/SignIn.css Normal file
View file

@ -0,0 +1,27 @@
.SignIn {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 448px;
@media (max-width: 600px) {
& {
position: static;
height: 100vh;
width: 100%;
transform: none;
overflow: auto;
}
}
>.key-content {
height: 100%;
>form {
display: flex;
flex-flow: column;
gap: 16px;
}
}
}