Skip to content
This repository has been archived by the owner on Mar 12, 2023. It is now read-only.

Commit

Permalink
Merge pull request #125 from herohoro/Fix_video-youtube-block_in_resp…
Browse files Browse the repository at this point in the history
…on640

🐌 Fix aspect ratio_video-youtube-block
  • Loading branch information
otoyo authored Oct 1, 2022
2 parents ad49af9 + e59c19f commit f71aed5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/styles/notion-block.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,16 @@
.tweetEmbed div:first-child div:first-child {
margin: auto;
}

.video .youtube {
position: relative;
width: 100%;
height: 0;
padding-top: 56.25%;
}
.video .youtube :first-child {
position: absolute;
top: 0;
right: 0;
width: 100%;
height: 100%;
}

1 comment on commit f71aed5

@vercel
Copy link

@vercel vercel bot commented on f71aed5 Oct 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

easy-notion-blog – ./

my-notion-blog-seven.vercel.app
easy-notion-blog-otoyo.vercel.app
easy-notion-blog-git-main-otoyo.vercel.app

Please sign in to comment.