Skip to content

Commit

Permalink
chore(editor-3001): update dependency tree spacing (#27202)
Browse files Browse the repository at this point in the history
  • Loading branch information
EDsCODE authored Dec 31, 2024
1 parent 8d12645 commit 3aa25f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions frontend/src/scenes/data-model/NodeCanvas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { useEffect, useRef, useState } from 'react'

import { Edge, Node, NodePosition, NodePositionWithBounds, NodeWithDepth } from './types'

const VERTICAL_SPACING = 150
const HORIZONTAL_SPACING = 250
const VERTICAL_SPACING = 300
const HORIZONTAL_SPACING = 400

// Core graph layout calculation functions
const assignDepths = (nodes: Node[]): NodeWithDepth[] => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function LineageTab(): JSX.Element {
<GenericNode pref={ref}>
<div className="flex flex-col max-w-full">
<div className="flex flex-wrap justify-between gap-2">
<div className="font-bold break-words">{node.name}</div>
<div className="font-bold break-all">{node.name}</div>
{node.savedQueryId && (
<LemonButton
type="primary"
Expand Down

0 comments on commit 3aa25f3

Please sign in to comment.