Skip to content

Commit

Permalink
Long custom operator name overflows in graph view (#35382)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-afonichkin committed Nov 17, 2023
1 parent aaed909 commit 4d872b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions airflow/www/static/js/dag/details/graph/Node.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ export const BaseNode = ({
)}
{task?.operator && (
<Text
noOfLines={1}
maxWidth={`calc(${width}px - 12px)`}
fontWeight={400}
fontSize="md"
width="fit-content"
Expand Down

0 comments on commit 4d872b8

Please sign in to comment.