fix: doc modal hidden by config modal (#35157)

This commit is contained in:
Joel 2026-04-14 16:16:19 +08:00 committed by GitHub
parent d7ad2baf79
commit 9a47bb2f80
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -87,7 +87,7 @@ const ReadmePanel: FC = () => {
const portalContent = showType === ReadmeShowType.drawer
? (
<div className="fixed inset-0 z-999 flex justify-start" onClick={onClose}>
<div className="fixed inset-0 z-1002 flex justify-start" onClick={onClose}>
<div
className={cn(
'pointer-events-auto mb-2 ml-2 mr-2 mt-16 w-[600px] max-w-[600px] justify-start rounded-2xl border-[0.5px] border-components-panel-border bg-components-panel-bg p-0 shadow-xl',
@ -101,7 +101,7 @@ const ReadmePanel: FC = () => {
</div>
)
: (
<div className="fixed inset-0 z-999 flex items-center justify-center p-2" onClick={onClose}>
<div className="fixed inset-0 z-1002 flex items-center justify-center p-2" onClick={onClose}>
<div
className={cn(
'pointer-events-auto relative h-[calc(100vh-16px)] w-full max-w-[800px] rounded-2xl bg-components-panel-bg p-0 shadow-xl',