Browse Source

[Fix][UI] fix bug where icons are displayed in one line. (#11320)

Devosend 2 years ago
parent
commit
0fdec2cd5a

+ 0 - 8
dolphinscheduler-ui/src/views/projects/workflow/instance/index.module.scss

@@ -72,14 +72,6 @@
   margin-top: 20px;
 }
 
-.operation {
-  > div {
-    > div {
-      margin-right: 5px !important;
-    }
-  }
-}
-
 .startup {
   align-items: center;
   > div:first-child {

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

@@ -175,8 +175,7 @@ export function useTable() {
       {
         title: t('project.workflow.operation'),
         key: 'operation',
-        ...COLUMN_WIDTH_CONFIG['operation'](6),
-        className: styles.operation,
+        ...COLUMN_WIDTH_CONFIG['operation'](7),
         render: (_row: IWorkflowInstance, index: number) =>
           h(TableAction, {
             row: _row,