Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #131 from tipisai/feat/add-image
Browse files Browse the repository at this point in the history
feat: resolve tooltip ref
  • Loading branch information
Wangtaofeng authored Apr 16, 2024
2 parents aa9513a + a560fef commit 56f9817
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ const FileContent: FC<IFileContentProps> = ({
size="small"
/>
}
placement="right"
align={{
offset: [-40, 4],
}}
>
{contentBody}
</Tooltip>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,14 @@ const SingleFile: FC<
size="small"
/>
}
align={{
offset: [-40, 4],
}}
placement="right"
>
<FileContent contentType={contentType} fileName={fileName} />
<div>
<FileContent contentType={contentType} fileName={fileName} />
</div>
</Tooltip>
)
}
Expand Down

0 comments on commit 56f9817

Please sign in to comment.