Skip to content

Commit 4e1faed

Browse files
update
1 parent 175a411 commit 4e1faed

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

chrome/src/components/TreeItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const RenderKey = memo(({ node }: { node: PlainNode }) => {
4848
<div className=" text-gray-400">=</div>
4949
<div className="flex">
5050
{'"'}
51-
<Tooltip content={finalKey} delay={800} showArrow color="foreground">
51+
<Tooltip content={<div className="max-w-[300px] max-h-[400px] overflow-y-auto whitespace-pre-wrap break-words">{finalKey}</div>} delay={800} showArrow color="foreground">
5252
<div className="text-gray-600 max-w-[200px] text-ellipsis overflow-hidden whitespace-nowrap">{finalKey}</div>
5353
</Tooltip>
5454
{'"'}

chrome/src/hooks/useFilterNode.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ export const useFilterNode = createState(() => ({ filter: defaultDisableType }),
1818
}),
1919
withDeepSelector: false,
2020
withNamespace: "useFilterNode",
21+
withPersist: "useFilterNode",
2122
});

0 commit comments

Comments
 (0)