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: add ellipsis if defined name long (#6007)

Roman Sergeev8e3f20e46c4a
diff --git a/packages/sheets-ui/src/views/defined-name/DefinedNameContainer.tsx b/packages/sheets-ui/src/views/defined-name/DefinedNameContainer.tsx
index 33f9753578..3ef893ee5e 100644
--- a/packages/sheets-ui/src/views/defined-name/DefinedNameContainer.tsx
+++ b/packages/sheets-ui/src/views/defined-name/DefinedNameContainer.tsx
@@ -228,7 +228,7 @@ export const DefinedNameContainer = () => {
<div
className={`
univer-my-1 univer-max-h-[100px] univer-max-w-[190px] univer-overflow-hidden
- univer-text-sm univer-font-medium univer-text-gray-900
+ univer-text-ellipsis univer-text-sm univer-font-medium univer-text-gray-900
dark:!univer-text-white
`}
>