mirror of
https://github.com/logto-io/logto.git
synced 2025-01-27 21:39:16 -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;
|
display: flex;
|
||||||
margin-bottom: _.unit(6);
|
margin-bottom: _.unit(6);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
.main {
|
.main {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
padding-right: _.unit(6);
|
padding-right: _.unit(6);
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
|
||||||
|
> * {
|
||||||
|
max-width: 1168px;
|
||||||
|
min-width: 604px;
|
||||||
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 50%;
|
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
width: 700px;
|
||||||
outline: none;
|
outline: none;
|
||||||
background: var(--color-layer-1);
|
background: var(--color-layer-1);
|
||||||
padding: _.unit(6);
|
padding: _.unit(6);
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
.wrapper {
|
.wrapper {
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
min-width: 950px;
|
||||||
|
|
||||||
.setup {
|
.setup {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
|
Loading…
Add table
Reference in a new issue