This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new cfa8fe2  UI: Fix alignment of Delete Button (#18795)
cfa8fe2 is described below

commit cfa8fe26faf4b1ab83b4ff5060905a1c8efdb58e
Author: Kaxil Naik <[email protected]>
AuthorDate: Thu Oct 7 15:45:43 2021 +0530

    UI: Fix alignment of Delete Button (#18795)
    
    This got broken in #18715
---
 airflow/www/templates/airflow/dags.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/airflow/www/templates/airflow/dags.html 
b/airflow/www/templates/airflow/dags.html
index c234cf5..1bc56e5 100644
--- a/airflow/www/templates/airflow/dags.html
+++ b/airflow/www/templates/airflow/dags.html
@@ -238,7 +238,7 @@
                     </div>
                     {% endif %}
                     {# Use dag_id instead of dag.dag_id, because the DAG might 
not exist in the webserver's DagBag #}
-                    <a href="{{ url_for('Airflow.delete', dag_id=dag.dag_id) 
}}" onclick="return confirmDeleteDag(this, '{{ dag.dag_id }}')" 
title="Delete&nbsp;DAG" aria-label="Delete DAG" class="btn btn-default 
btn-icon-only {{ ' disabled' if not dag.can_delete }}">
+                    <a href="{{ url_for('Airflow.delete', dag_id=dag.dag_id) 
}}" onclick="return confirmDeleteDag(this, '{{ dag.dag_id }}')" 
title="Delete&nbsp;DAG" aria-label="Delete DAG" class="btn btn-sm btn-default 
btn-icon-only {{ ' disabled' if not dag.can_delete }}">
                       <span class="material-icons text-danger" 
aria-hidden="true">delete_outline</span>
                     </a>
                   </div>

Reply via email to