Skip to content

Commit

Permalink
UI: Fix alignment of Delete Button (#18795)
Browse files Browse the repository at this point in the history
This got broken in #18715
  • Loading branch information
kaxil committed Oct 7, 2021
1 parent 9a5ac14 commit cfa8fe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/www/templates/airflow/dags.html
Expand Up @@ -238,7 +238,7 @@ <h2>{{ page_title }}</h2>
</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>
Expand Down

0 comments on commit cfa8fe2

Please sign in to comment.