Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

fix: color picker is partially blocked (#5654)

Roman Sergeev8daabe54ef67
diff --git a/packages/design/src/components/dialog/DialogPrimitive.tsx b/packages/design/src/components/dialog/DialogPrimitive.tsx
index 2b123e5c76..63984244f9 100644
--- a/packages/design/src/components/dialog/DialogPrimitive.tsx
+++ b/packages/design/src/components/dialog/DialogPrimitive.tsx
@@ -37,7 +37,7 @@ const DialogOverlay = forwardRef<
ref={ref}
className={clsx(
`
- univer-bg-black/80 univer-fixed univer-inset-0 univer-z-[1050]
+ univer-bg-black/80 univer-fixed univer-inset-0 univer-z-[1080]
data-[state=open]:univer-animate-in data-[state=open]:univer-fade-in-0
data-[state=closed]:univer-animate-out data-[state=closed]:univer-fade-out-0
`,
@@ -68,7 +68,7 @@ const DialogContent = forwardRef<
data-[state=closed]:univer-animate-out data-[state=closed]:univer-fade-out-0
data-[state=closed]:univer-zoom-out-95 data-[state=closed]:univer-slide-out-to-left-1/2
data-[state=closed]:univer-slide-out-to-top-[48%]
- univer-fixed univer-left-1/2 univer-top-1/2 univer-z-[1050] univer-box-border univer-grid
+ univer-fixed univer-left-1/2 univer-top-1/2 univer-z-[1080] univer-box-border univer-grid
univer-w-full univer-max-w-lg -univer-translate-x-1/2 -univer-translate-y-1/2 univer-gap-4
univer-bg-white univer-p-4 univer-text-gray-500 univer-shadow-md univer-duration-200
sm:!univer-rounded-lg