This is an automated email from the ASF dual-hosted git repository.
kerwin pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new 313ba4444f [Fix-13341][Improvement][UI] Worked out the issue with the
long name overflowing on the table. (#13342)
313ba4444f is described below
commit 313ba4444f8949b5335139991cc7d71cc10cd57b
Author: calvin <[email protected]>
AuthorDate: Thu Jan 5 14:40:45 2023 +0800
[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 ++++-
.../projects/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
}