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(thread-comment-ui): comment title expanded width container (#6083)

Roman Sergeev2c591c4c345e
diff --git a/packages/thread-comment-ui/src/views/thread-comment-panel/index.tsx b/packages/thread-comment-ui/src/views/thread-comment-panel/index.tsx
index a179b3a674..48bcf4f64b 100644
--- a/packages/thread-comment-ui/src/views/thread-comment-panel/index.tsx
+++ b/packages/thread-comment-ui/src/views/thread-comment-panel/index.tsx
@@ -160,7 +160,6 @@ export const ThreadCommentPanel = (props: IThreadCommentPanelProps) => {
const renderComment = (comment: IThreadComment) => (
<ThreadCommentTree
- full
prefix={prefix}
getSubUnitName={getSubUnitName}
key={comment.id}
diff --git a/packages/thread-comment-ui/src/views/thread-comment-tree/index.tsx b/packages/thread-comment-ui/src/views/thread-comment-tree/index.tsx
index a1e26b234e..fb072a04f9 100644
--- a/packages/thread-comment-ui/src/views/thread-comment-tree/index.tsx
+++ b/packages/thread-comment-ui/src/views/thread-comment-tree/index.tsx
@@ -405,11 +405,11 @@ export const ThreadCommentTree = (props: IThreadCommentTreeProps) => {
`}
/>
<Tooltip showIfEllipsis title={title}>
- <div
+ <span
className="univer-flex-1 univer-truncate"
>
{title}
- </div>
+ </span>
</Tooltip>
</div>
{!!comments && (