Skip to content

Commit 83e6c7f

Browse files
authored
fix(protocol-designer): fix Ot2Modules style (#19133)
Removes excess padding not specified in designs from OT2 modules Closes RQA-4486
1 parent 1039e46 commit 83e6c7f

File tree

1 file changed

+2
-12
lines changed
  • protocol-designer/src/components/organisms/Ot2Modules

1 file changed

+2
-12
lines changed

protocol-designer/src/components/organisms/Ot2Modules/index.tsx

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -322,12 +322,7 @@ export function Ot2Modules(): JSX.Element {
322322
) : null}
323323
{changeModuleWarning}
324324
<Flex flexWrap={WRAP} width="100%">
325-
<Flex
326-
flexDirection={DIRECTION_COLUMN}
327-
flex="1.27"
328-
minWidth="30.375rem"
329-
paddingTop={SPACING.spacing120}
330-
>
325+
<Flex flexDirection={DIRECTION_COLUMN} flex="1.27" minWidth="30.375rem">
331326
{filteredSupportedModules.length > 0 ? (
332327
<StyledText
333328
desktopStyle="headingSmallBold"
@@ -416,12 +411,7 @@ export function Ot2Modules(): JSX.Element {
416411
</Flex>
417412
) : null}
418413
</Flex>
419-
<Flex
420-
flex="1.27"
421-
maxHeight="35rem"
422-
minWidth="50%"
423-
paddingTop={SPACING.spacing80}
424-
>
414+
<Flex flex="1.27" maxHeight="35rem" minWidth="50%">
425415
<RobotCoordinateSpaceWithRef
426416
height="100%"
427417
width="100%"

0 commit comments

Comments
 (0)