0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-20 21:32:31 -05:00

style(console): add min & max widths to center stage page contents

This commit is contained in:
Charles Zhao 2022-05-16 18:52:21 +08:00
parent 5d34442018
commit d77e34d43c
No known key found for this signature in database
GPG key ID: 4858774754C92DF2
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;