You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ep...@apache.org on 2024/02/20 12:26:22 UTC
(airflow) 26/27: Change margin to padding so first task can be selected (#37527)
This is an automated email from the ASF dual-hosted git repository.
ephraimanierobi pushed a commit to branch v2-8-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 1eee4ec9128de13f1af22ef72e620c6f949c9f2b
Author: Victor Chiapaikeo <vc...@gmail.com>
AuthorDate: Tue Feb 20 00:27:00 2024 -0500
Change margin to padding so first task can be selected (#37527)
(cherry picked from commit 7b422be7df23fb08197b5fd09c12e74cef40473a)
---
airflow/www/static/js/dag/grid/renderTaskRows.tsx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/airflow/www/static/js/dag/grid/renderTaskRows.tsx b/airflow/www/static/js/dag/grid/renderTaskRows.tsx
index b32c1b4397..a20953b421 100644
--- a/airflow/www/static/js/dag/grid/renderTaskRows.tsx
+++ b/airflow/www/static/js/dag/grid/renderTaskRows.tsx
@@ -172,9 +172,9 @@ const Row = (props: RowProps) => {
label={task.label || task.id || ""}
id={task.id || ""}
isOpen={isOpen}
- ml={level * 4 + 4}
+ pl={level * 4 + 4}
setupTeardownType={task.setupTeardownType}
- mr={4}
+ pr={4}
fontWeight={
isGroup || (task.isMapped && !isParentMapped)
? "bold"