diff --git a/app/src/organisms/Devices/HistoricalProtocolRunOffsetDrawer.tsx b/app/src/organisms/Devices/HistoricalProtocolRunOffsetDrawer.tsx index 1be825a562b..30abbe455c2 100644 --- a/app/src/organisms/Devices/HistoricalProtocolRunOffsetDrawer.tsx +++ b/app/src/organisms/Devices/HistoricalProtocolRunOffsetDrawer.tsx @@ -2,6 +2,8 @@ import * as React from 'react' import isEqual from 'lodash/isEqual' import { useTranslation } from 'react-i18next' import { + ALIGN_CENTER, + ALIGN_END, BORDERS, Box, COLORS, @@ -98,34 +100,40 @@ export function HistoricalProtocolRunOffsetDrawer( ) : null} - - - {t('location')} - - - {t('labware')} - - + - {t('labware_offset_data')} - + + {t('location')} + + + + + {t('labware')} + + + + + {t('labware_offset_data')} + + {uniqueLabwareOffsets.map((offset, index) => { const labwareDefinitions = @@ -144,33 +152,32 @@ export function HistoricalProtocolRunOffsetDrawer( - - {t('slot', { slotName: offset.location.slotName })} - {offset.location.moduleModel != null && - ` - ${String( - getModuleDisplayName(offset.location.moduleModel) - )}`} - - - {labwareName} - - + + + {t('slot', { slotName: offset.location.slotName })} + {offset.location.moduleModel != null && + ` - ${getModuleDisplayName(offset.location.moduleModel)}`} + + + + + {labwareName} + + + + + ) })}