Skip to content

Commit

Permalink
fix overflow y on tree node causing scroll issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kavinvalli committed Sep 27, 2024
1 parent 4593bfb commit 331b3b1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions web/components/templates/sessions/sessionId/Tree/Tree.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,11 @@ const TreeNode: React.FC<TreeNodeProps> = ({

return (
<div
className={
level === 0 ? "p-0 m-0 overflow-x-auto" : "relative flex flex-col"
}
className={level === 0 ? "p-0 m-0" : "relative flex flex-col"}
key={`${node.name}-${node.trace?.request_id}`}
>
{node.children ? (
<Col className="overflow-x-auto">
<Col className="overflow-x-auto overflow-y-hidden">
<Row className="w-full group">
{new Array(level).fill(null).map((_, index) => (
<div
Expand Down

0 comments on commit 331b3b1

Please sign in to comment.