Fix: The indented tree text generated on the search page overlaps. #14077 (#14078)

### What problem does this PR solve?

Fix: The indented tree text generated on the search page overlaps.
#14077

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)

Co-authored-by: Yingfeng <yingfeng.zhang@gmail.com>
This commit is contained in:
balibabu
2026-04-14 10:02:00 +08:00
committed by GitHub
parent 8723c3aa86
commit d2b744facd
4 changed files with 189 additions and 77 deletions

View File

@@ -1,4 +1,4 @@
import IndentedTree from '@/components/indented-tree/indented-tree';
import { IndentedTree } from '@/components/indented-tree/next';
import { Progress } from '@/components/ui/progress';
import {
Sheet,
@@ -47,14 +47,7 @@ const MindMapDrawer = ({ data, hideModal, loading, visible }: IProps) => {
)}
{!loading && (
<div className="bg-bg-card rounded-lg w-full h-full">
<IndentedTree
data={data}
show
style={{
width: '100%',
height: '100%',
}}
></IndentedTree>
<IndentedTree data={data}></IndentedTree>
</div>
)}
</div>