Skip to content

Commit

Permalink
fix json tree alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
SerhiiTsybulskyi committed Sep 11, 2024
1 parent 86fd7e0 commit 1b6dbda
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 1b6dbda

Please sign in to comment.