0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-03-31 22:51:25 -05:00

style(console): sie guide max width (#1291)

* style(console): sie guide max width

* refactor: use mixin
This commit is contained in:
Wang Sijie 2022-06-29 15:11:11 +08:00 committed by GitHub
parent 9b19b0e970
commit f5cc72fcbe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 3 deletions

View file

@ -21,8 +21,6 @@
overflow-y: auto;
> * {
max-width: 1168px;
min-width: 604px;
margin: 0 auto;
@include _.main-content-width;
}
}

View file

@ -42,6 +42,7 @@
.main {
display: flex;
align-items: flex-start;
@include _.main-content-width;
.form {
flex: 1;

View file

@ -4,6 +4,12 @@
@return #{$factor * 4}px;
}
@mixin main-content-width {
max-width: 1168px;
min-width: 604px;
margin: 0 auto;
}
@mixin flex-column {
display: flex;
flex-direction: column;