Repository: incubator-airflow
Updated Branches:
  refs/heads/master d295cf1e4 -> 565423a39


[AIRFLOW-1280] Fix Gantt chart height

Closes #2502 from skudriashev/airflow-1280


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/565423a3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/565423a3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/565423a3

Branch: refs/heads/master
Commit: 565423a397563e7e33c8162f481dda3708897ae3
Parents: d295cf1
Author: Stanislav Kudriashev <[email protected]>
Authored: Mon Aug 14 14:19:49 2017 -0700
Committer: Alex Guziel <[email protected]>
Committed: Mon Aug 14 14:19:49 2017 -0700

----------------------------------------------------------------------
 airflow/www/views.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/565423a3/airflow/www/views.py
----------------------------------------------------------------------
diff --git a/airflow/www/views.py b/airflow/www/views.py
index 3bfad5d..f813a0b 100644
--- a/airflow/www/views.py
+++ b/airflow/www/views.py
@@ -1721,7 +1721,7 @@ class Airflow(BaseView):
             'taskNames': [ti.task_id for ti in tis],
             'tasks': tasks,
             'taskStatus': states,
-            'height': len(tis) * 25,
+            'height': len(tis) * 25 + 25,
         }
 
         session.commit()

Reply via email to