Skip to content

🎥 Make videos programmatically with React

TikTok template: Fix text-transform uppercase calculation

Jonny Burgerac2c5f745e65
diff --git a/packages/template-tiktok/src/CaptionedVideo/Page.tsx b/packages/template-tiktok/src/CaptionedVideo/Page.tsx
index e06dbe3883..a736b15daf 100644
--- a/packages/template-tiktok/src/CaptionedVideo/Page.tsx
+++ b/packages/template-tiktok/src/CaptionedVideo/Page.tsx
@@ -35,6 +35,7 @@ export const Page: React.FC<{
fontFamily,
text: page.text,
withinWidth: width * 0.9,
+ textTransform: "uppercase",
});
const fontSize = Math.min(DESIRED_FONT_SIZE, fittedText.fontSize);