From e8d226766dcba9b3c353d09e204ddd974d02794f Mon Sep 17 00:00:00 2001 From: Josh Perez <60019601+josh-signal@users.noreply.github.com> Date: Mon, 19 Sep 2022 14:48:10 -0400 Subject: [PATCH] Change story text size to px --- ts/components/TextAttachment.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(