This is an automated email from the ASF dual-hosted git repository.
liudongkai 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 52df6c1f66 [Fix][UI Next][V1.0.0-Beta] Fix the task group queue
display error. (#9890)
52df6c1f66 is described below
commit 52df6c1f66640bc7c26fe7a95348870b9da8b571
Author: Amy0104 <[email protected]>
AuthorDate: Thu May 5 14:39:42 2022 +0800
[Fix][UI Next][V1.0.0-Beta] Fix the task group queue display error. (#9890)
---
.../src/views/resource/task-group/queue/index.module.scss | 11 -----------
.../src/views/resource/task-group/queue/index.tsx | 7 ++++---
2 files changed, 4 insertions(+), 14 deletions(-)
diff --git
a/dolphinscheduler-ui-next/src/views/resource/task-group/queue/index.module.scss
b/dolphinscheduler-ui-next/src/views/resource/task-group/queue/index.module.scss
index f838d74927..202f1e2d7e 100644
---
a/dolphinscheduler-ui-next/src/views/resource/task-group/queue/index.module.scss
+++
b/dolphinscheduler-ui-next/src/views/resource/task-group/queue/index.module.scss
@@ -20,17 +20,6 @@
justify-content: flex-end;
align-items: center;
padding: 0 0 0 0;
- .right {
- display: flex;
- justify-content: space-between;
- align-items: center;
- div {
- margin-left: 5px;
- }
- button {
- margin-left: 10px;
- }
- }
}
.table-card {
diff --git
a/dolphinscheduler-ui-next/src/views/resource/task-group/queue/index.tsx
b/dolphinscheduler-ui-next/src/views/resource/task-group/queue/index.tsx
index bbb7038b96..e32fb52b7b 100644
--- a/dolphinscheduler-ui-next/src/views/resource/task-group/queue/index.tsx
+++ b/dolphinscheduler-ui-next/src/views/resource/task-group/queue/index.tsx
@@ -23,7 +23,8 @@ import {
NCard,
NDataTable,
NPagination,
- NSelect
+ NSelect,
+ NSpace
} from 'naive-ui'
import Card from '@/components/card'
import { SearchOutlined } from '@vicons/antd'
@@ -160,7 +161,7 @@ const taskGroupQueue = defineComponent({
<div>
<NCard>
<div class={styles.toolbar}>
- <div class={styles.right}>
+ <NSpace>
<NSelect
size='small'
options={taskGroupOptions}
@@ -184,7 +185,7 @@ const taskGroupQueue = defineComponent({
<SearchOutlined />
</NIcon>
</NButton>
- </div>
+ </NSpace>
</div>
</NCard>
<Card