fix: menu z-index

This commit is contained in:
chenos 2022-11-15 10:31:47 +08:00
parent 46161e8fd9
commit 5cc83111db

View File

@ -144,7 +144,7 @@ const InternalAdminLayout = (props: any) => {
`} `}
style={{ height: 46, lineHeight: '46px', position: 'relative', paddingLeft: 0 }} style={{ height: 46, lineHeight: '46px', position: 'relative', paddingLeft: 0 }}
> >
<div style={{ display: 'flex', height: '100%' }}> <div style={{ position: 'relative', zIndex: 1, display: 'flex', height: '100%', width: 'calc(100vw - 300px)' }}>
<div style={{ width: 200, display: 'inline-flex', color: '#fff', padding: '0', alignItems: 'center' }}> <div style={{ width: 200, display: 'inline-flex', color: '#fff', padding: '0', alignItems: 'center' }}>
<img <img
className={css` className={css`
@ -165,7 +165,7 @@ const InternalAdminLayout = (props: any) => {
<MenuEditor sideMenuRef={sideMenuRef} /> <MenuEditor sideMenuRef={sideMenuRef} />
</div> </div>
</div> </div>
<div style={{ position: 'absolute', top: 0, right: 0 }}> <div style={{ position: 'absolute', zIndex: 10, top: 0, right: 0 }}>
<ACLAllowConfigure> <ACLAllowConfigure>
<RemotePluginManagerToolbar /> <RemotePluginManagerToolbar />
</ACLAllowConfigure> </ACLAllowConfigure>