Browse Source

[Fix][UI Next][V1.0.0-Alpha] Fixed an issue with long workflow names (#9217)

3.0.0/version-upgrade
labbomb 2 years ago committed by GitHub
parent
commit
91319e3111
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/start-modal.tsx
  2. 7
      dolphinscheduler-ui-next/src/views/projects/workflow/definition/index.module.scss

4
dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/start-modal.tsx

@ -224,7 +224,9 @@ export default defineComponent({
label={t('project.workflow.workflow_name')}
path='workflow_name'
>
{this.row.name}
<div class={styles.formItem} title={this.row.name}>
{this.row.name}
</div>
</NFormItem>
<NFormItem
label={t('project.workflow.failure_strategy')}

7
dolphinscheduler-ui-next/src/views/projects/workflow/definition/index.module.scss

@ -95,3 +95,10 @@
margin-right: 5px;
}
}
.formItem {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
word-break: break-all;
}

Loading…
Cancel
Save