Skip to content

Commit

Permalink
make container relative
Browse files Browse the repository at this point in the history
  • Loading branch information
mozzius committed Sep 11, 2024
1 parent 9912029 commit b2f1758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bskyembed/src/components/embed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit b2f1758

Please sign in to comment.