diff --git a/protocol-designer/src/pages/Designer/OffDeck/OffDeckDetails.tsx b/protocol-designer/src/pages/Designer/OffDeck/OffDeckDetails.tsx
index 68a547e0a98..19442f2daaa 100644
--- a/protocol-designer/src/pages/Designer/OffDeck/OffDeckDetails.tsx
+++ b/protocol-designer/src/pages/Designer/OffDeck/OffDeckDetails.tsx
@@ -86,11 +86,13 @@ export function OffDeckDetails(props: OffDeckDetailsProps): JSX.Element {
{
dispatch(
diff --git a/protocol-designer/src/pages/Designer/ProtocolSteps/StepForm/StepTools/MoveLabwareTools/MoveLabwareField.tsx b/protocol-designer/src/pages/Designer/ProtocolSteps/StepForm/StepTools/MoveLabwareTools/MoveLabwareField.tsx
index ae7dbd77a30..b948c6e804a 100644
--- a/protocol-designer/src/pages/Designer/ProtocolSteps/StepForm/StepTools/MoveLabwareTools/MoveLabwareField.tsx
+++ b/protocol-designer/src/pages/Designer/ProtocolSteps/StepForm/StepTools/MoveLabwareTools/MoveLabwareField.tsx
@@ -14,6 +14,7 @@ export function MoveLabwareField(props: FieldProps): JSX.Element {
{...props}
options={options}
title={t('select_labware')}
+ width="100%"
onEnter={(id: string) => {
dispatch(hoverSelection({ id, text: t('application:select') }))
}}
diff --git a/protocol-designer/src/pages/Designer/ProtocolSteps/index.tsx b/protocol-designer/src/pages/Designer/ProtocolSteps/index.tsx
index c66dd1682a1..55fc758c52e 100644
--- a/protocol-designer/src/pages/Designer/ProtocolSteps/index.tsx
+++ b/protocol-designer/src/pages/Designer/ProtocolSteps/index.tsx
@@ -10,6 +10,7 @@ import {
Flex,
JUSTIFY_CENTER,
JUSTIFY_SPACE_BETWEEN,
+ OVERFLOW_AUTO,
POSITION_FIXED,
POSITION_RELATIVE,
SPACING,
@@ -44,6 +45,7 @@ import { TimelineAlerts } from '../../../organisms'
import { DraggableSidebar } from './DraggableSidebar'
const CONTENT_MAX_WIDTH = '46.9375rem'
+const STEP_SUMMARY_HEIGHT = '5.5rem'
export function ProtocolSteps(): JSX.Element {
const { i18n, t } = useTranslation('starting_deck_state')
@@ -85,86 +87,91 @@ export function ProtocolSteps(): JSX.Element {
height="calc(100vh - 4rem)"
width="100%"
minHeight={FLEX_MAX_CONTENT}
- id="container"
>
- {showTimelineAlerts ? (
-
- ) : null}
-
- {currentStep != null && hoveredTerminalItem == null ? (
-
- {i18n.format(currentStep.stepName, 'titleCase')}
-
- ) : null}
- {(hoveredTerminalItem != null || selectedTerminalItem != null) &&
- currentHoveredStepId == null ? (
-
- {t(hoveredTerminalItem ?? selectedTerminalItem)}
-
- ) : null}
-
- {
- setDeckView(leftString)
- }}
- rightClick={() => {
- setDeckView(rightString)
- }}
- />
-
- {deckView === leftString ? (
-
- ) : (
-
- )}
- {/* avoid shifting the deck view container */}
+ {showTimelineAlerts ? (
+
+ ) : null}
-
+ {i18n.format(currentStep.stepName, 'titleCase')}
+
+ ) : null}
+ {(hoveredTerminalItem != null || selectedTerminalItem != null) &&
+ currentHoveredStepId == null ? (
+
+ {t(hoveredTerminalItem ?? selectedTerminalItem)}
+
+ ) : null}
+
+ {
+ setDeckView(leftString)
+ }}
+ rightClick={() => {
+ setDeckView(rightString)
+ }}
/>
+
+ {deckView === leftString ? (
+
+ ) : (
+
+ )}
+ {/* avoid shifting the deck view container */}
+
+
+
+
{enableHotKeyDisplay ? (
diff --git a/protocol-designer/src/pages/Designer/index.tsx b/protocol-designer/src/pages/Designer/index.tsx
index e82e3b910d0..7620716de02 100644
--- a/protocol-designer/src/pages/Designer/index.tsx
+++ b/protocol-designer/src/pages/Designer/index.tsx
@@ -11,6 +11,7 @@ import {
INFO_TOAST,
JUSTIFY_CENTER,
JUSTIFY_FLEX_END,
+ OVERFLOW_HIDDEN,
SPACING,
ToggleGroup,
useOnClickOutside,
@@ -219,7 +220,9 @@ export function Designer(): JSX.Element {
) : (
-
+
+
+
)}
>
diff --git a/protocol-designer/src/pages/ProtocolOverview/OffdeckThumbnail.tsx b/protocol-designer/src/pages/ProtocolOverview/OffdeckThumbnail.tsx
index f547b7e763e..2f4b384d691 100644
--- a/protocol-designer/src/pages/ProtocolOverview/OffdeckThumbnail.tsx
+++ b/protocol-designer/src/pages/ProtocolOverview/OffdeckThumbnail.tsx
@@ -2,9 +2,12 @@ import { useTranslation } from 'react-i18next'
import { useSelector } from 'react-redux'
import {
ALIGN_CENTER,
+ ALIGN_FLEX_START,
BORDERS,
+ Box,
COLORS,
DIRECTION_COLUMN,
+ DISPLAY_GRID,
Flex,
Icon,
JUSTIFY_CENTER,
@@ -13,7 +16,6 @@ import {
RobotWorkSpace,
SPACING,
StyledText,
- WRAP,
} from '@opentrons/components'
import { selectors } from '../../labware-ingred/selectors'
import * as wellContentsSelectors from '../../top-selectors/well-contents'
@@ -52,6 +54,7 @@ export function OffDeckThumbnail(props: OffDeckThumbnailProps): JSX.Element {
}
flexDirection={DIRECTION_COLUMN}
borderRadius={BORDERS.borderRadius8}
+ gridGap={SPACING.spacing40}
>
{offDeckLabware.length === 0 ? (
{i18n.format(t('off_deck_labware'), 'upperCase')}
@@ -81,47 +83,57 @@ export function OffDeckThumbnail(props: OffDeckThumbnailProps): JSX.Element {
- {offDeckLabware.map(lw => {
- const wellContents = allWellContentsForActiveItem
- ? allWellContentsForActiveItem[lw.id]
- : null
- const definition = lw.def
- const { dimensions } = definition
- return (
-
-
- {() => (
- <>
-
-
- >
- )}
-
-
- )
- })}
+
+ {offDeckLabware.map(lw => {
+ const wellContents =
+ allWellContentsForActiveItem !== null
+ ? allWellContentsForActiveItem[lw.id]
+ : null
+ const definition = lw.def
+ const { dimensions } = definition
+ return (
+
+
+ {() => (
+ <>
+
+
+ >
+ )}
+
+
+ )
+ })}
+
>
)}