🎥 Make videos programmatically with React
remotion.dev/brand: Flatten chapter title layout
Jonny Burger53275359ad2c
diff --git a/packages/brand/src/announcements/whats-new-in-remotion/NumberedChapter.tsx b/packages/brand/src/announcements/whats-new-in-remotion/NumberedChapter.tsxindex 006aa46658..39f4ad39e4 100644--- a/packages/brand/src/announcements/whats-new-in-remotion/NumberedChapter.tsx+++ b/packages/brand/src/announcements/whats-new-in-remotion/NumberedChapter.tsx@@ -89,8 +89,16 @@ const NumberedChapterInner: React.FC<NumberedChapterProps> = ({>{chapterNumber}</Interactive.Div>- <AbsoluteFill+ <Interactive.H2+ name="Chapter title"style={{+ position: 'absolute',+ top: 0,+ left: 0,+ width: '100%',+ height: '100%',+ display: 'flex',+ flexDirection: 'column',justifyContent: 'center',alignItems: 'center',fontFamily: 'GT Planar',@@ -106,11 +114,12 @@ const NumberedChapterInner: React.FC<NumberedChapterProps> = ({extrapolateLeft: 'clamp',extrapolateRight: 'clamp',}),+ margin: 0,marginTop: 15,}}>- <Interactive.H2 name="Chapter title">{chapterTitle}</Interactive.H2>- </AbsoluteFill>+ {chapterTitle}+ </Interactive.H2></AbsoluteFill>);};