fix(editor): make image editor backdrop opaque and prevent home bleed-through
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled

This commit is contained in:
Your Name 2026-02-22 13:21:16 +08:00
parent a9e601b2ac
commit 3105e8f26f

View File

@ -1380,12 +1380,12 @@ export function ImageAnnotator({
// 弹窗内容 // 弹窗内容
const modalContent = ( const modalContent = (
<div <div
className="fixed inset-0 z-[9999] flex items-center justify-center bg-background" className="fixed inset-0 z-[9999] flex items-center justify-center bg-black/55 backdrop-blur-sm"
onClick={onCancel} onClick={onCancel}
> >
{/* 弹窗容器 - 全屏显示 */} {/* 弹窗容器 - 全屏显示 */}
<div <div
className="flex flex-col overflow-hidden w-full h-full" className="flex h-full w-full flex-col overflow-hidden bg-background"
onClick={(e) => e.stopPropagation()} onClick={(e) => e.stopPropagation()}
> >
{/* 顶部标题栏 - 始终深色模式,高度与首页导航栏一致 */} {/* 顶部标题栏 - 始终深色模式,高度与首页导航栏一致 */}