Skip to content

🎥 Make videos programmatically with React

fix editor canvas not sizing correctly

Jonny Burger5c5c1111b264
diff --git a/packages/cli/src/editor/components/TopPanel.tsx b/packages/cli/src/editor/components/TopPanel.tsx
index a8ffabe086..f1c1af5f5f 100644
--- a/packages/cli/src/editor/components/TopPanel.tsx
+++ b/packages/cli/src/editor/components/TopPanel.tsx
@@ -13,6 +13,7 @@ import {SplitterHandle} from './Splitter/SplitterHandle';
const container: React.CSSProperties = {
height: '100%',
+ width: '100%',
display: 'flex',
flexDirection: 'column',
flex: 1,