From 313ba4444f8949b5335139991cc7d71cc10cd57b Mon Sep 17 00:00:00 2001 From: calvin Date: Thu, 5 Jan 2023 14:40:45 +0800 Subject: [PATCH] [Fix-13341][Improvement][UI] Worked out the issue with the long name overflowing on the table. (#13342) --- dolphinscheduler-ui/src/common/column-width-config.ts | 5 ++++- .../task/components/node/fields/use-environment-name.ts | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/dolphinscheduler-ui/src/common/column-width-config.ts b/dolphinscheduler-ui/src/common/column-width-config.ts index d292a9a84f..7c40ba8840 100644 --- a/dolphinscheduler-ui/src/common/column-width-config.ts +++ b/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' diff --git a/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-environment-name.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-environment-name.ts index dd51b8d1aa..17b293eeba 100644 --- a/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-environment-name.ts +++ b/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 }