Ver código fonte

[Fix][UI Next][V1.0.0-Alpha] Fix the Workflow instance table action button is too small to click. (#8721)

songjianet 3 anos atrás
pai
commit
ac18b195ec

+ 7 - 7
dolphinscheduler-ui-next/src/views/projects/workflow/instance/components/table-action.tsx

@@ -113,7 +113,7 @@ export default defineComponent({
             trigger: () => (
               <NButton
                 tag='div'
-                size='tiny'
+                size='small'
                 type='info'
                 circle
                 disabled={
@@ -139,7 +139,7 @@ export default defineComponent({
               return (
                 <NButton
                   tag='div'
-                  size='tiny'
+                  size='small'
                   type='info'
                   circle
                   onClick={this.handleReRun}
@@ -169,7 +169,7 @@ export default defineComponent({
             trigger: () => (
               <NButton
                 tag='div'
-                size='tiny'
+                size='small'
                 type='primary'
                 circle
                 onClick={this.handleReStore}
@@ -195,7 +195,7 @@ export default defineComponent({
             trigger: () => (
               <NButton
                 tag='div'
-                size='tiny'
+                size='small'
                 type='error'
                 circle
                 onClick={this.handleStop}
@@ -224,7 +224,7 @@ export default defineComponent({
             trigger: () => (
               <NButton
                 tag='div'
-                size='tiny'
+                size='small'
                 type='warning'
                 circle
                 disabled={
@@ -250,7 +250,7 @@ export default defineComponent({
             trigger: () => (
               <NButton
                 tag='div'
-                size='tiny'
+                size='small'
                 type='error'
                 circle
                 disabled={
@@ -286,7 +286,7 @@ export default defineComponent({
             trigger: () => (
               <NButton
                 tag='div'
-                size='tiny'
+                size='small'
                 type='info'
                 circle
                 disabled={this.row?.disabled}

+ 1 - 1
dolphinscheduler-ui-next/src/views/projects/workflow/instance/use-table.ts

@@ -198,7 +198,7 @@ export function useTable() {
       {
         title: t('project.workflow.operation'),
         key: 'operation',
-        width: 220,
+        width: 250,
         fixed: 'right',
         className: styles.operation,
         render: (_row: IWorkflowInstance, index: number) =>