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:
parent
5d34442018
commit
d77e34d43c
3 changed files with 12 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
.wrapper {
|
||||
display: flex;
|
||||
height: 100%;
|
||||
min-width: 950px;
|
||||
|
||||
.setup {
|
||||
flex: 1;
|
||||
|
|
Loading…
Add table
Reference in a new issue