Skip to content

Commit

Permalink
address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jerader committed Oct 23, 2024
1 parent b302a9d commit 44fc0d9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ vi.mock('../StepSummary.tsx')
vi.mock('../Timeline')
vi.mock('../../../../feature-flags/selectors')
vi.mock('../../../../file-data/selectors')
vi.mock('../../../../organisms/Alerts')
const render = () => {
return renderWithProviders(<ProtocolSteps />, {
i18nInstance: i18n,
Expand Down
10 changes: 10 additions & 0 deletions protocol-designer/src/pages/Designer/ProtocolSteps/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,16 @@ export function ProtocolSteps(): JSX.Element {
justifyContent={JUSTIFY_FLEX_START}
>
<Flex flexDirection={DIRECTION_COLUMN} gridGap={SPACING.spacing16}>
{tab === 'protocolSteps' ? (
<Flex
justifyContent={JUSTIFY_CENTER}
width="100%"
paddingTop="2.34375rem"
paddingBottom="1.34375rem"
>
<TimelineAlerts />
</Flex>
) : null}
<Flex
justifyContent={
currentStep != null ? JUSTIFY_SPACE_BETWEEN : JUSTIFY_FLEX_END
Expand Down

0 comments on commit 44fc0d9

Please sign in to comment.