Skip to content

Commit

Permalink
make protocolSteps have same dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
jerader committed Nov 22, 2024
1 parent 0a1b0b8 commit ea69c36
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export function DeckSetupContainer(props: DeckSetupTabType): JSX.Element {
backgroundColor={COLORS.white}
borderRadius={BORDERS.borderRadius12}
width="100%"
height={tab === 'protocolSteps' ? '70vh' : '100%'}
height={tab === 'protocolSteps' ? '65.75vh' : '100%'}
flexDirection={DIRECTION_COLUMN}
padding={SPACING.spacing24}
>
Expand All @@ -222,7 +222,9 @@ export function DeckSetupContainer(props: DeckSetupTabType): JSX.Element {
) : null}
<RobotCoordinateSpaceWithRef
height="100%"
width={zoomIn.slot != null ? '100%' : '50%'}
width={
zoomIn.slot != null || tab === 'protocolSteps' ? '100%' : '50%'
}
deckDef={deckDef}
viewBox={viewBox}
outline="auto"
Expand Down

0 comments on commit ea69c36

Please sign in to comment.