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: defined name input style (#6306)

Roman Sergeeva0825f00d9cd
diff --git a/packages/sheets-ui/src/views/defined-name/DefinedName.tsx b/packages/sheets-ui/src/views/defined-name/DefinedName.tsx
index 53b191ae2d..556a39a444 100644
--- a/packages/sheets-ui/src/views/defined-name/DefinedName.tsx
+++ b/packages/sheets-ui/src/views/defined-name/DefinedName.tsx
@@ -130,7 +130,7 @@ export function DefinedName({ disable }: { disable: boolean }) {
>
<input
className={clsx(`
- univer-box-border univer-h-full univer-w-full univer-appearance-none univer-px-1.5
+ univer-box-border univer-h-full univer-w-full univer-appearance-none univer-pl-1.5 univer-pr-5
univer-text-gray-900
focus:univer-outline-none
dark:!univer-border-r-gray-700 dark:!univer-bg-gray-900 dark:!univer-text-white