Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(app): set max height for desktop modal shell #14915

Merged
merged 3 commits into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions app/src/organisms/PipetteWizardFlows/ChoosePipette.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,11 @@ export const ChoosePipette = (props: ChoosePipetteProps): JSX.Element => {
</Flex>
</LegacyModalShell>
) : (
<LegacyModalShell width="47rem" height="30rem" header={wizardHeader}>
<LegacyModalShell
width="47rem"
height="min-content"
header={wizardHeader}
>
{showExitConfirmation ? (
<ExitModal
goBack={() => setShowExitConfirmation(false)}
Expand All @@ -218,7 +222,7 @@ export const ChoosePipette = (props: ChoosePipetteProps): JSX.Element => {
) : (
<Flex
flexDirection={DIRECTION_COLUMN}
padding={SPACING.spacing40}
padding={SPACING.spacing32}
justifyContent={JUSTIFY_SPACE_BETWEEN}
>
<Flex flexDirection={DIRECTION_COLUMN}>
Expand Down
2 changes: 1 addition & 1 deletion app/src/organisms/PipetteWizardFlows/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ export const PipetteWizardFlows = (
currentStep.section === SECTIONS.BEFORE_BEGINNING &&
selectedPipette === NINETY_SIX_CHANNEL &&
flowType === FLOWS.ATTACH
? '70%'
? '30rem'
: 'auto'
}
header={wizardHeader}
Expand Down
Loading