make container relative (#5280)

This commit is contained in:
Samuel Newman
2024-09-11 23:04:40 +01:00
committed by GitHub
parent 991202966e
commit 8a6d83de3b
+1 -1
View File
@@ -372,7 +372,7 @@ function VideoEmbed({content}: {content: AppBskyEmbedVideo.View}) {
return (
<div
className="w-full overflow-hidden rounded-lg aspect-square"
className="w-full overflow-hidden rounded-lg aspect-square relative"
style={{aspectRatio: `${aspectRatio} / 1`}}>
<img
src={content.thumbnail}