Skip to content

Commit

Permalink
Fix YouTube card in "back in block" blog post (#854)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewStanciu committed Dec 31, 2023
1 parent 8b75c1b commit 774f6bb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 6 additions & 3 deletions website/pages/blog/virtual-dom.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import { CarbonAds } from '../../components/ad';
</a>
</div>


<div className="flex flex-col items-center gap-4">

# Virtual DOM: Back in Block
Expand All @@ -37,8 +36,12 @@ import { CarbonAds } from '../../components/ad';

<br />

<div className="flex justify-center">
<YouTube videoId="VkezQMb1DHw" opts={{ start: 73 }} />
<div className="lg:w-7/12 text-center mx-auto flex justify-center">
<YouTube
className="youtubeContainer"
videoId="VkezQMb1DHw"
opts={{ start: 73 }}
/>
</div>

---
Expand Down
4 changes: 1 addition & 3 deletions website/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -676,10 +676,8 @@ li > a {
.youtubeContainer {
position: relative;
width: 100%;
height: 0;
padding-bottom: 56.25%;
aspect-ratio: 16 / 9;
overflow: hidden;
margin-bottom: 50px;
}

.youtubeContainer iframe {
Expand Down

2 comments on commit 774f6bb

@vercel
Copy link

@vercel vercel bot commented on 774f6bb Dec 31, 2023

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:

million-kitchen-sink – ./packages/kitchen-sink

million-kitchen-sink.vercel.app
million-kitchen-sink-git-main-millionjs.vercel.app
million-kitchen-sink-millionjs.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 774f6bb Dec 31, 2023

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:

sink – ./packages/kitchen-sink

sink-git-main-millionjs.vercel.app
sink.million.dev
sink-millionjs.vercel.app
million-kitchen-sink-atit.vercel.app

Please sign in to comment.