Browse Source

[Fix][UI Next] Fix styling problems in the project (#9008)

3.0.0/version-upgrade
labbomb 3 years ago committed by GitHub
parent
commit
d9109739a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-ui-next/src/views/projects/task/instance/index.tsx
  2. 5
      dolphinscheduler-ui-next/src/views/projects/task/instance/use-table.ts

2
dolphinscheduler-ui-next/src/views/projects/task/instance/index.tsx

@ -92,7 +92,7 @@ const TaskInstance = defineComponent({
return ( return (
<> <>
<NCard> <NCard>
<NSpace justify='end'> <NSpace justify='end' wrap={false}>
<NInput <NInput
v-model={[this.searchVal, 'value']} v-model={[this.searchVal, 'value']}
size='small' size='small'

5
dolphinscheduler-ui-next/src/views/projects/task/instance/use-table.ts

@ -308,7 +308,10 @@ export function renderStateCell(state: ITaskState, t: Function) {
{ {
color: stateOption.color, color: stateOption.color,
size: 18, size: 18,
class: stateOption.classNames class: stateOption.classNames,
style: {
display: 'flex'
}
}, },
() => h(stateOption.icon) () => h(stateOption.icon)
) )

Loading…
Cancel
Save