diff --git a/ts/components/TextAttachment.tsx b/ts/components/TextAttachment.tsx index 433349d9a3b..bc7a47ad5a3 100644 --- a/ts/components/TextAttachment.tsx +++ b/ts/components/TextAttachment.tsx @@ -88,7 +88,7 @@ function getFont( const fontWeight = textStyle === TextAttachmentStyleType.BOLD ? 'bold ' : ''; - return `${fontWeight}${fontSize}pt ${fontName}`; + return `${fontWeight}${fontSize}px ${fontName}`; } function getTextStyles(