Skip to content

Commit

Permalink
Merge pull request #258 from reaviz/fix-json-tree
Browse files Browse the repository at this point in the history
  • Loading branch information
amcdnl authored Sep 11, 2024
2 parents 86fd7e0 + 1b6dbda commit 840dae6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/layout/Tree/JsonTree/JsonTreeNode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,11 @@ export const JsonTreeNode: FC<JsonTreeNodeProps> = ({
)}
<span className={twMerge(theme.node.value)}>
{ellipsis && !isEmptyString ? (
<Ellipsis value={data.data} limit={ellipsisTextLength} />
<Ellipsis
value={data.data}
limit={ellipsisTextLength}
className="inline"
/>
) : (
valueLabel
)}
Expand Down

0 comments on commit 840dae6

Please sign in to comment.