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(sheets-hyper-link-ui): tooltip if content overflow show ellipsis (#6034)

Roman Sergeev3bfd34c8e196
diff --git a/packages/design/src/components/tooltip/Tooltip.tsx b/packages/design/src/components/tooltip/Tooltip.tsx
index 64f5246143..e531377046 100644
--- a/packages/design/src/components/tooltip/Tooltip.tsx
+++ b/packages/design/src/components/tooltip/Tooltip.tsx
@@ -254,7 +254,7 @@ export function Tooltip(props: ITooltipProps) {
onMouseEnter={() => showTooltip()}
onMouseLeave={() => hideTooltip()}
>
- <div>{title}</div>
+ <div className="univer-break-words">{title}</div>
<div
ref={arrowRef}
className={`