make container relative (#5280)

zio/stable^2^2
Samuel Newman 2024-09-11 23:04:40 +01:00 committed by GitHub
parent 991202966e
commit 8a6d83de3b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -372,7 +372,7 @@ function VideoEmbed({content}: {content: AppBskyEmbedVideo.View}) {
return ( return (
<div <div
className="w-full overflow-hidden rounded-lg aspect-square" className="w-full overflow-hidden rounded-lg aspect-square relative"
style={{aspectRatio: `${aspectRatio} / 1`}}> style={{aspectRatio: `${aspectRatio} / 1`}}>
<img <img
src={content.thumbnail} src={content.thumbnail}