diff --git a/src/index.ts b/src/index.ts index dad83ad..2e019d5 100644 --- a/src/index.ts +++ b/src/index.ts @@ -84,6 +84,7 @@ function css(duration: number) { max-width: 100%; width: 100%; aspect-ratio: 9/16; + object-fit: contain; top: 0; opacity: 0; }