diff --git a/desktop/plugins/public/ui-debugger/components/Tree.tsx b/desktop/plugins/public/ui-debugger/components/Tree.tsx index 33b8d7b33..bf26e669a 100644 --- a/desktop/plugins/public/ui-debugger/components/Tree.tsx +++ b/desktop/plugins/public/ui-debugger/components/Tree.tsx @@ -200,13 +200,15 @@ const TreeAttributeContainer = styled(Text)({ }); function InlineAttributes({attributes}: {attributes: Record}) { + const highlightManager: HighlightManager = useHighlighter(); + return ( <> {Object.entries(attributes ?? {}).map(([key, value]) => ( <> {key} - ={value} + ={highlightManager.render(value)} ))} @@ -255,7 +257,7 @@ function ExpandedIconOrSpace(props: { ); } else { - return
; + return
; } } @@ -276,7 +278,7 @@ const DecorationImage = styled.img({ width: 12, }); -const renderDepthOffset = 4; +const renderDepthOffset = 8; const ContextMenu: React.FC<{ nodes: Map;