diff --git a/airflow/www/static/js/tree.js b/airflow/www/static/js/tree.js index e108a21baf1ed..ae6aa80061ce3 100644 --- a/airflow/www/static/js/tree.js +++ b/airflow/www/static/js/tree.js @@ -73,7 +73,7 @@ document.addEventListener('DOMContentLoaded', () => { treeDepth += 1; const innerWidth = window.innerWidth > 1200 ? 1200 : window.innerWidth; - const squareX = innerWidth - (data.instances.length * squareSize) - (treeDepth * 50); + const squareX = (treeDepth * 25) + 200; const squareSpacing = 2; const margin = {