This is an automated email from the ASF dual-hosted git repository. caishunfeng pushed a commit to branch 3.0.0-prepare in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
commit 8581a464db4f248197cda9401914e1cfcb7ff247 Author: songjianet <[email protected]> AuthorDate: Fri Jul 22 11:52:41 2022 +0800 [Fix][UI] Fix the problem of too large spacing in operation. (#11090) * [Fix][UI] Fix the problem of too large spacing in operation. * [Fix][UI] Fix the problem of too large spacing in operation. --- .../views/projects/workflow/definition/components/use-table.ts | 2 -- .../src/views/projects/workflow/definition/index.module.scss | 8 -------- .../src/views/projects/workflow/definition/timing/use-table.ts | 2 -- .../src/views/projects/workflow/definition/use-table.ts | 1 - 4 files changed, 13 deletions(-) diff --git a/dolphinscheduler-ui/src/views/projects/workflow/definition/components/use-table.ts b/dolphinscheduler-ui/src/views/projects/workflow/definition/components/use-table.ts index 2318e2b99a..b0be323464 100644 --- a/dolphinscheduler-ui/src/views/projects/workflow/definition/components/use-table.ts +++ b/dolphinscheduler-ui/src/views/projects/workflow/definition/components/use-table.ts @@ -25,7 +25,6 @@ import { } from '@/service/modules/process-definition' import { DeleteOutlined, ExclamationCircleOutlined } from '@vicons/antd' import { NSpace, NTooltip, NButton, NPopconfirm, NTag } from 'naive-ui' -import styles from '../index.module.scss' import type { Router } from 'vue-router' import type { TableColumns } from 'naive-ui/es/data-table/src/interface' @@ -86,7 +85,6 @@ export function useTable( variables.columns.push({ title: t('project.workflow.operation'), key: 'operation', - className: styles.operation, render: (_row: any) => { return h(NSpace, null, { default: () => [ diff --git a/dolphinscheduler-ui/src/views/projects/workflow/definition/index.module.scss b/dolphinscheduler-ui/src/views/projects/workflow/definition/index.module.scss index 11e45225f1..c9c321bb28 100644 --- a/dolphinscheduler-ui/src/views/projects/workflow/definition/index.module.scss +++ b/dolphinscheduler-ui/src/views/projects/workflow/definition/index.module.scss @@ -72,14 +72,6 @@ margin-top: 20px; } -.operation { - > div { - > div { - margin-right: 5px !important; - } - } -} - .startup { align-items: center; > div:first-child { diff --git a/dolphinscheduler-ui/src/views/projects/workflow/definition/timing/use-table.ts b/dolphinscheduler-ui/src/views/projects/workflow/definition/timing/use-table.ts index 39f08725e3..85ea79f284 100644 --- a/dolphinscheduler-ui/src/views/projects/workflow/definition/timing/use-table.ts +++ b/dolphinscheduler-ui/src/views/projects/workflow/definition/timing/use-table.ts @@ -38,7 +38,6 @@ import { } from '@/common/column-width-config' import { format } from 'date-fns-tz' import { ISearchParam } from './types' -import styles from '../index.module.scss' import type { Router } from 'vue-router' export function useTable() { @@ -138,7 +137,6 @@ export function useTable() { title: t('project.workflow.operation'), key: 'operation', ...COLUMN_WIDTH_CONFIG['operation'](3), - className: styles.operation, render: (row: any) => { return h(NSpace, null, { default: () => [ diff --git a/dolphinscheduler-ui/src/views/projects/workflow/definition/use-table.ts b/dolphinscheduler-ui/src/views/projects/workflow/definition/use-table.ts index 227c0a8f6e..9510427b5e 100644 --- a/dolphinscheduler-ui/src/views/projects/workflow/definition/use-table.ts +++ b/dolphinscheduler-ui/src/views/projects/workflow/definition/use-table.ts @@ -186,7 +186,6 @@ export function useTable() { title: t('project.workflow.operation'), key: 'operation', ...COLUMN_WIDTH_CONFIG['operation'](8.5), - className: styles.operation, render: (row) => h(TableAction, { row,
