File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
website/src/component/Container Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 8
8
position : absolute ;
9
9
left : 270px ;
10
10
top : 60px ;
11
- display : flex ;
12
- flex-wrap : wrap ;
11
+ }
12
+
13
+ .home {
14
+ width : 100% ;
13
15
}
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export default function Container(props: ContainerProps) {
25
25
< Header enableStyle = { / \/ ( t e a m ) / . test ( path ) } showBorder = { / \/ ( h o m e ) / . test ( path ) } path = { path } />
26
26
< div className = { styles . warpper } >
27
27
{ data && data . length > 0 && < SubMenus data = { data } /> }
28
- < div className = { styles . content } style = { { flex : 1 , overflow : 'hidden' } } >
28
+ < div className = { data && data . length > 0 ? styles . content : styles . home } style = { { flex : 1 , overflow : 'hidden' } } >
29
29
< Outlet />
30
30
</ div >
31
31
</ div >
You can’t perform that action at this time.
0 commit comments