Skip to content

Commit

Permalink
fix(app): thermocycler run preview style fix (#13539)
Browse files Browse the repository at this point in the history
Closes RQA-747

Fixes run preview commands involving the thermocycler profile to have styles consistent with other
run preview steps.
  • Loading branch information
mjhuff authored Sep 13, 2023
1 parent 2d81953 commit 69decb1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/src/organisms/CommandText/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,18 +85,18 @@ export function CommandText(props: Props): JSX.Element | null {
)
return (
<Flex flexDirection={DIRECTION_COLUMN} {...styleProps}>
<StyledText marginBottom={SPACING.spacing4} {...styleProps}>
<StyledText as="p" marginBottom={SPACING.spacing4} {...styleProps}>
{t('tc_starting_profile', {
repetitions: Object.keys(steps).length,
})}
</StyledText>
<Flex marginLeft={SPACING.spacing16}>
<StyledText as="p" marginLeft={SPACING.spacing16}>
<ul>
{steps.map((step: string, index: number) => (
<li key={index}> {step}</li>
))}
</ul>
</Flex>
</StyledText>
</Flex>
)
}
Expand Down

0 comments on commit 69decb1

Please sign in to comment.