Merge pull request #693 from smartxworks/fix/xzdry

fix(Editor): increase the zIndex level of the side menu
This commit is contained in:
tanbowensg 2023-03-14 10:53:56 +08:00 committed by GitHub
commit 0f5479b1cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -133,7 +133,7 @@ export const Editor: React.FC<Props> = observer(
borderRightWidth="1px"
borderColor="gray.200"
position="relative"
zIndex="2"
zIndex="sideMenuIndex"
height="full"
>
<Tabs
@ -193,7 +193,7 @@ export const Editor: React.FC<Props> = observer(
borderLeftWidth="1px"
borderColor="gray.400"
position="relative"
zIndex="0"
zIndex="sideMenuIndex"
>
<Tabs
align="center"

View File

@ -34,6 +34,7 @@ const zIndices = {
...theme.zIndices,
// smaller than the default value of zIndex for chakra modal (1400)
editorMask: 1399,
sideMenuIndex: 2,
},
};