diff --git a/console/packages/starwhale-ui/src/GridTable/components/TableActions.tsx b/console/packages/starwhale-ui/src/GridTable/components/TableActions.tsx index f3ea59af71..5e2b3e3bfe 100644 --- a/console/packages/starwhale-ui/src/GridTable/components/TableActions.tsx +++ b/console/packages/starwhale-ui/src/GridTable/components/TableActions.tsx @@ -33,7 +33,7 @@ const getPopoverOverrides = ({ left, top }) => { }, }, style: { - zIndex: 999, + zIndex: 99, }, }, } diff --git a/console/packages/starwhale-ui/src/TiptapEditor/index.tsx b/console/packages/starwhale-ui/src/TiptapEditor/index.tsx index 3a021cad55..b49e03ba1c 100644 --- a/console/packages/starwhale-ui/src/TiptapEditor/index.tsx +++ b/console/packages/starwhale-ui/src/TiptapEditor/index.tsx @@ -97,7 +97,7 @@ export default function TiptapEditor({ id = '', initialContent, editable, onSave // tabIndex={0} className='relative self-center min-h-[500px] w-full h-full bg-white sm:mb-[calc(10px)] sm:rounded-lg' > - {editor && } + {editor && editable && } )