Browse Source

[Fix-13341][Improvement][UI] Worked out the issue with the long name overflowing on the table. (#13342)

calvin 2 years ago
parent
commit
313ba4444f

+ 4 - 1
dolphinscheduler-ui/src/common/column-width-config.ts

@@ -29,7 +29,10 @@ export const COLUMN_WIDTH_CONFIG = {
     width: 50
   },
   linkName: {
-    width: 200
+    width: 200,
+    ellipsis: {
+      tooltip: true
+    }
   },
   linkEllipsis: {
     style: 'max-width: 180px;line-height: 1.5'

+ 1 - 1
dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-environment-name.ts

@@ -83,7 +83,7 @@ export function useEnvironmentName(
     name: t('project.node.environment_name'),
     props: {
       loading: loading,
-      clearable: true
+      clearable: true,
     },
     options: options
   }