diff --git a/airflow/www/static/js/tree.js b/airflow/www/static/js/tree.js index 882d7ce525c5f..07daf0e623c99 100644 --- a/airflow/www/static/js/tree.js +++ b/airflow/www/static/js/tree.js @@ -72,8 +72,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 = {