diff --git a/editor/components/PreviewPanel.vue b/editor/components/PreviewPanel.vue index e607f47..fdb24f3 100644 --- a/editor/components/PreviewPanel.vue +++ b/editor/components/PreviewPanel.vue @@ -56,13 +56,12 @@ function togglePlay() { } .preview-video { + width: 100%; + aspect-ratio: 16 / 9; + max-height: 100%; display: flex; flex-direction: column; gap: 8px; - width: 100%; - max-width: 100%; - aspect-ratio: 16 / 9; - max-height: 100%; } .preview-video video {