From 6b72c2c10a3881467dd2444f9070d4279a9cf0cb Mon Sep 17 00:00:00 2001 From: Carina Ursu Date: Fri, 24 May 2024 12:25:36 -0500 Subject: [PATCH] fix: Active badge overlaps text in LaunchPlan versions table (#876) Signed-off-by: Carina Ursu --- .../useWorkflowVersionsTableColumns.tsx | 51 +++++++++++-------- 1 file changed, 31 insertions(+), 20 deletions(-) diff --git a/packages/oss-console/src/components/Executions/Tables/useWorkflowVersionsTableColumns.tsx b/packages/oss-console/src/components/Executions/Tables/useWorkflowVersionsTableColumns.tsx index a4684da79..5ab6ca2a6 100644 --- a/packages/oss-console/src/components/Executions/Tables/useWorkflowVersionsTableColumns.tsx +++ b/packages/oss-console/src/components/Executions/Tables/useWorkflowVersionsTableColumns.tsx @@ -4,6 +4,7 @@ import React, { useMemo } from 'react'; import TableCell from '@mui/material/TableCell'; import TableContainer from '@mui/material/TableContainer'; import TableRow from '@mui/material/TableRow'; +import Grid from '@mui/material/Grid'; import { formatDateUTC } from '../../../common/formatters'; import { padExecutionPaths, padExecutions, timestampToDate } from '../../../common/utils'; import { WaitForData } from '../../common/WaitForData'; @@ -45,26 +46,36 @@ export function useWorkflowVersionsTableColumns(): WorkflowVersionColumnDefiniti activeScheduleLaunchPlan.id.version === version; const versionText = version; return ( - - - - {versionText} - - {isActiveVersion && ( - theme.spacing(2), - }} - > - - - )} - - + + + + {versionText} + + + {isActiveVersion && ( + + + + )} + ); }, className: styles.columnName,