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

bbovenzi 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 4d872b87ef Long custom operator name overflows in graph view (#35382)
4d872b87ef is described below

commit 4d872b87efac9950f125aff676b30f0a637b471e
Author: Ivan <ivan.afonich...@gmail.com>
AuthorDate: Fri Nov 17 20:32:47 2023 +0000

    Long custom operator name overflows in graph view (#35382)
---
 airflow/www/static/js/dag/details/graph/Node.tsx | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/airflow/www/static/js/dag/details/graph/Node.tsx 
b/airflow/www/static/js/dag/details/graph/Node.tsx
index 5d777b1673..6c72f041ac 100644
--- a/airflow/www/static/js/dag/details/graph/Node.tsx
+++ b/airflow/www/static/js/dag/details/graph/Node.tsx
@@ -162,6 +162,8 @@ export const BaseNode = ({
             )}
             {task?.operator && (
               <Text
+                noOfLines={1}
+                maxWidth={`calc(${width}px - 12px)`}
                 fontWeight={400}
                 fontSize="md"
                 width="fit-content"

Reply via email to