0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

refactor(console): change form card flex-direction when window width is less than 1080px (#2489)

This commit is contained in:
Xiao Yijun 2022-11-22 13:08:11 +08:00 committed by GitHub
parent 683a2d93d6
commit 12d429eaa3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,6 +7,7 @@
.introduction { .introduction {
width: 296px; width: 296px;
padding-bottom: _.unit(6);
margin-right: _.unit(14); margin-right: _.unit(14);
flex-shrink: 0; flex-shrink: 0;
@ -30,6 +31,17 @@
} }
} }
@media screen and (max-width: 1080px) {
.container {
flex-direction: column;
.introduction {
width: 100%;
margin-right: unset;
}
}
}
.form { .form {
flex-grow: 1; flex-grow: 1;
} }