Skip to content

Commit 146cf1f

Browse files
authored
fix(app): fix font size in lpc table (#15151)
* fix(app): fix font size in lpc table
1 parent 4a2f61f commit 146cf1f

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

app/src/organisms/LabwarePositionCheck/ResultsSummary.tsx

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,12 @@ export const TerseOffsetTable = (props: OffsetTableProps): JSX.Element => {
360360
) : null}
361361
</TerseTableDatum>
362362
<TerseTableDatum>
363-
<StyledText as="p">{labwareDisplayName}</StyledText>
363+
<StyledText
364+
fontSize={TYPOGRAPHY.fontSize20}
365+
lineHeight={TYPOGRAPHY.lineHeight24}
366+
>
367+
{labwareDisplayName}
368+
</StyledText>
364369
</TerseTableDatum>
365370
<TerseTableDatum>
366371
{isEqual(vector, IDENTITY_VECTOR) ? (
@@ -370,14 +375,20 @@ export const TerseOffsetTable = (props: OffsetTableProps): JSX.Element => {
370375
{[vector.x, vector.y, vector.z].map((axis, index) => (
371376
<React.Fragment key={index}>
372377
<StyledText
373-
as="p"
378+
fontSize={TYPOGRAPHY.fontSize20}
379+
lineHeight={TYPOGRAPHY.lineHeight24}
374380
marginLeft={index > 0 ? SPACING.spacing8 : 0}
375381
marginRight={SPACING.spacing4}
376382
fontWeight={TYPOGRAPHY.fontWeightSemiBold}
377383
>
378384
{['X', 'Y', 'Z'][index]}
379385
</StyledText>
380-
<StyledText as="p">{axis.toFixed(1)}</StyledText>
386+
<StyledText
387+
fontSize={TYPOGRAPHY.fontSize20}
388+
lineHeight={TYPOGRAPHY.lineHeight24}
389+
>
390+
{axis.toFixed(1)}
391+
</StyledText>
381392
</React.Fragment>
382393
))}
383394
</Flex>

0 commit comments

Comments
 (0)