Skip to content

Commit

Permalink
fix(app): scrolling issue in deck hardware screen (#16202)
Browse files Browse the repository at this point in the history
* fix(app): scrolling issue in deck hardware screen
  • Loading branch information
koji authored Sep 7, 2024
1 parent b462aaf commit a1bab54
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions app/src/organisms/ProtocolSetupModulesAndDeck/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ import {
COLORS,
DIRECTION_COLUMN,
Flex,
SPACING,
JUSTIFY_CENTER,
LegacyStyledText,
SPACING,
TYPOGRAPHY,
} from '@opentrons/components'
import {
Expand Down Expand Up @@ -136,11 +137,13 @@ export function ProtocolSetupModulesAndDeck({
marginBottom={SPACING.spacing80}
>
{showMapView ? (
<ModulesAndDeckMapView
attachedProtocolModuleMatches={attachedProtocolModuleMatches}
runId={runId}
protocolAnalysis={mostRecentAnalysis}
/>
<Flex height="55vh" justifyContent={JUSTIFY_CENTER}>
<ModulesAndDeckMapView
attachedProtocolModuleMatches={attachedProtocolModuleMatches}
runId={runId}
protocolAnalysis={mostRecentAnalysis}
/>
</Flex>
) : (
<>
{isModuleMismatch && !clearModuleMismatchBanner ? (
Expand Down

0 comments on commit a1bab54

Please sign in to comment.