Skip to content

Commit

Permalink
fix(app): align task list progress tracker with modal header in calib…
Browse files Browse the repository at this point in the history
…ration dashboard (#12031)

the modal added a bit too much padding to the children by default causing the calibartion task list
to not quite match the designs. the left padding was decreased slightly to ensure the design spec
was met.

closes RAUT-314
  • Loading branch information
jgbowser authored Jan 23, 2023
1 parent d86ec2d commit e411263
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/src/organisms/CalibrationTaskList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as React from 'react'
import { useTranslation } from 'react-i18next'
import { useHistory } from 'react-router-dom'

import { COLORS } from '@opentrons/components'
import { COLORS, SPACING } from '@opentrons/components'
import { Modal } from '../../molecules/Modal'
import { TaskList } from '../TaskList'

Expand Down Expand Up @@ -42,6 +42,9 @@ export function CalibrationTaskList({
}
fullPage
backgroundColor={COLORS.fundamentalsBackground}
childrenPadding={`${String(SPACING.spacing4)} ${String(
SPACING.spacing5
)} ${String(SPACING.spacing5)} ${String(SPACING.spacing2)}`}
>
<TaskList activeIndex={activeIndex} taskList={taskList} />
</Modal>
Expand Down

0 comments on commit e411263

Please sign in to comment.