Skip to content

Commit

Permalink
fix(app): fix font size in lpc table (#15151)
Browse files Browse the repository at this point in the history
* fix(app): fix font size in lpc table
  • Loading branch information
koji committed May 9, 2024
1 parent 4a2f61f commit 146cf1f
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions app/src/organisms/LabwarePositionCheck/ResultsSummary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,12 @@ export const TerseOffsetTable = (props: OffsetTableProps): JSX.Element => {
) : null}
</TerseTableDatum>
<TerseTableDatum>
<StyledText as="p">{labwareDisplayName}</StyledText>
<StyledText
fontSize={TYPOGRAPHY.fontSize20}
lineHeight={TYPOGRAPHY.lineHeight24}
>
{labwareDisplayName}
</StyledText>
</TerseTableDatum>
<TerseTableDatum>
{isEqual(vector, IDENTITY_VECTOR) ? (
Expand All @@ -370,14 +375,20 @@ export const TerseOffsetTable = (props: OffsetTableProps): JSX.Element => {
{[vector.x, vector.y, vector.z].map((axis, index) => (
<React.Fragment key={index}>
<StyledText
as="p"
fontSize={TYPOGRAPHY.fontSize20}
lineHeight={TYPOGRAPHY.lineHeight24}
marginLeft={index > 0 ? SPACING.spacing8 : 0}
marginRight={SPACING.spacing4}
fontWeight={TYPOGRAPHY.fontWeightSemiBold}
>
{['X', 'Y', 'Z'][index]}
</StyledText>
<StyledText as="p">{axis.toFixed(1)}</StyledText>
<StyledText
fontSize={TYPOGRAPHY.fontSize20}
lineHeight={TYPOGRAPHY.lineHeight24}
>
{axis.toFixed(1)}
</StyledText>
</React.Fragment>
))}
</Flex>
Expand Down

0 comments on commit 146cf1f

Please sign in to comment.