From cca4792c5adfd44340238122f7fe4e6010a96676 Mon Sep 17 00:00:00 2001 From: Tianchu Zhao Date: Fri, 8 Oct 2021 07:02:42 +1100 Subject: [PATCH] fix(ui): fixed width button (#6883) Signed-off-by: Tianchu Zhao --- ui/src/app/shared/components/graph/graph-panel.tsx | 8 ++++---- .../workflow-dag/workflow-dag-render-options-panel.tsx | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ui/src/app/shared/components/graph/graph-panel.tsx b/ui/src/app/shared/components/graph/graph-panel.tsx index e9b07a3cc28b..8840527ea6f4 100644 --- a/ui/src/app/shared/components/graph/graph-panel.tsx +++ b/ui/src/app/shared/components/graph/graph-panel.tsx @@ -134,16 +134,16 @@ export const GraphPanel = (props: Props) => { ]} /> setHorizontal(s => !s)} title='Horizontal/vertical layout'> - + setNodeSize(s => s * 1.2)} title='Zoom in'> - + setNodeSize(s => s / 1.2)} title='Zoom out'> - + setFast(s => !s)} title='Use faster, but less pretty renderer' className={fast ? 'active' : ''}> - + {props.options}
diff --git a/ui/src/app/workflows/components/workflow-dag/workflow-dag-render-options-panel.tsx b/ui/src/app/workflows/components/workflow-dag/workflow-dag-render-options-panel.tsx index e9efee3166e3..09e3f0bf3378 100644 --- a/ui/src/app/workflows/components/workflow-dag/workflow-dag-render-options-panel.tsx +++ b/ui/src/app/workflows/components/workflow-dag/workflow-dag-render-options-panel.tsx @@ -17,7 +17,7 @@ export class WorkflowDagRenderOptionsPanel extends React.Component - + @@ -27,7 +27,7 @@ export class WorkflowDagRenderOptionsPanel extends React.Component - + );