You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2021/09/10 12:50:21 UTC
[airflow] 01/05: Increase width for Run column (#17817)
This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a commit to branch v2-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 8ecc7105de405553868e29ae133e131b5ff6d177
Author: Gabriel Machado <ga...@hotmail.com>
AuthorDate: Wed Aug 25 14:48:33 2021 +0200
Increase width for Run column (#17817)
(cherry picked from commit 96f7e3fec76a78f49032fbc9a4ee9a5551f38042)
---
airflow/www/static/js/dags.js | 2 +-
airflow/www/templates/airflow/dags.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/airflow/www/static/js/dags.js b/airflow/www/static/js/dags.js
index 7056a60..7f27af8 100644
--- a/airflow/www/static/js/dags.js
+++ b/airflow/www/static/js/dags.js
@@ -167,7 +167,7 @@ function lastDagRunsHandler(error, json) {
function drawDagStatsForDag(dagId, states) {
const g = d3.select(`svg#dag-run-${dagId.replace(/\./g, '__dot__')}`)
.attr('height', diameter + (strokeWidthHover * 2))
- .attr('width', '110px')
+ .attr('width', '120px')
.selectAll('g')
.data(states)
.enter()
diff --git a/airflow/www/templates/airflow/dags.html b/airflow/www/templates/airflow/dags.html
index 7535440..df43d70 100644
--- a/airflow/www/templates/airflow/dags.html
+++ b/airflow/www/templates/airflow/dags.html
@@ -154,7 +154,7 @@
{% endfor %}
</td>
{# Column 4: Dag Runs #}
- <td style="padding:0; width:120px;">
+ <td style="padding:0; width:130px;">
{{ loading_dots(classes='js-loading-dag-stats text-muted') }}
<svg height="10" width="10" id="dag-run-{{ dag.safe_dag_id }}" style="display: block;"></svg>
</td>