From 312236e989f59d657beab855bbd0307103ed4f6f Mon Sep 17 00:00:00 2001 From: Sarah Breen Date: Tue, 13 Aug 2024 14:21:42 -0400 Subject: [PATCH] fix(app): Labware List Item responsiveness and stacking order (#15982) Fix RQA-2924, RQA-2926 --- .../SetupLabware/LabwareListItem.tsx | 46 +++++++++---------- 1 file changed, 22 insertions(+), 24 deletions(-) diff --git a/app/src/organisms/Devices/ProtocolRun/SetupLabware/LabwareListItem.tsx b/app/src/organisms/Devices/ProtocolRun/SetupLabware/LabwareListItem.tsx index 651657d4597..238481223bf 100644 --- a/app/src/organisms/Devices/ProtocolRun/SetupLabware/LabwareListItem.tsx +++ b/app/src/organisms/Devices/ProtocolRun/SetupLabware/LabwareListItem.tsx @@ -56,7 +56,7 @@ import type { NestedLabwareInfo } from './getNestedLabwareInfo' const LabwareRow = styled.div` display: grid; - grid-template-columns: 1fr 6fr 5.9fr; + grid-template-columns: 90px 12fr; border-style: ${BORDERS.styleSolid}; border-width: 1px; border-color: ${COLORS.grey30}; @@ -268,7 +268,7 @@ export function LabwareListItem( return ( - + {slotInfo != null && isFlex ? ( ) : ( @@ -283,31 +283,10 @@ export function LabwareListItem( ) : null} - - - {showLabwareSVG && } - - - {labwareDisplayName} - - - {nickName} - - - + {nestedLabwareInfo != null && nestedLabwareInfo?.sharedSlotId === slotInfo ? ( <> - + ) : null} + + {showLabwareSVG ? ( + + ) : null} + + + {labwareDisplayName} + + + {nickName} + + + {moduleDisplayName != null ? ( <>