File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 45
45
# main {
46
46
font-size : 15px ;
47
47
padding-bottom : 5px ;
48
+ height : 100% ;
49
+ flex-direction : column;
48
50
}
49
51
# roleList {
50
52
padding : 0 ;
97
99
</ style >
98
100
</ head >
99
101
< body >
100
- < div style ="display: flex ">
102
+ < div style ="display: flex; height: 100% ">
101
103
< div class ="mainPane " style ="min-width: 280px ">
102
104
< div id ="main " style ="display: none ">
103
105
< div style ="padding: 12px 6px 6px; ">
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ function main() {
85
85
executeAction ( tab . id , 'loadInfo' , { } ) . then ( userInfo => {
86
86
if ( userInfo ) {
87
87
loadFormList ( url , userInfo , tab . id ) ;
88
- document . getElementById ( 'main' ) . style . display = 'block ' ;
88
+ document . getElementById ( 'main' ) . style . display = 'flex ' ;
89
89
} else {
90
90
const noMain = document . getElementById ( 'noMain' ) ;
91
91
const p = noMain . querySelector ( 'p' ) ;
You can’t perform that action at this time.
0 commit comments