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

Merge pull request #845 from logto-io/charles-log-2214-add-max-width-to-center-stage-page-element

style(console): add min & max widths to center stage page contents
This commit is contained in:
Charles Zhao 2022-05-16 20:08:12 +08:00 committed by GitHub
commit f8b0a41b53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 5 deletions

View file

@ -12,10 +12,16 @@
display: flex;
margin-bottom: _.unit(6);
overflow: hidden;
}
.main {
flex-grow: 1;
padding-right: _.unit(6);
overflow-y: auto;
.main {
flex-grow: 1;
padding-right: _.unit(6);
overflow-y: auto;
> * {
max-width: 1168px;
min-width: 604px;
margin: 0 auto;
}
}

View file

@ -2,10 +2,10 @@
.content {
position: absolute;
left: 50%;
top: 0;
right: 0;
bottom: 0;
width: 700px;
outline: none;
background: var(--color-layer-1);
padding: _.unit(6);

View file

@ -3,6 +3,7 @@
.wrapper {
display: flex;
height: 100%;
min-width: 950px;
.setup {
flex: 1;