Issue #107 reports that YouTube embeds do not fit the article body well. The current post layout styles images, quotes, and code blocks, but it does not define any behavior for embedded iframes inside post content.
Many posts use fixed-width embed markup such as:
<iframe width="560" height="315" src="https://www.youtube.com/embed/..."></iframe>
Without layout rules, those embeds inherit their legacy dimensions and alignment. On wider article columns, they can sit awkwardly rather than feeling intentionally placed.
Add:
.post-content iframe {
display: block;
margin: 2.5em auto;
}
Pros:
Cons:
Add:
.post-content iframe {
display: block;
max-width: 100%;
margin: 2.5em auto;
}
Pros:
Cons:
Wrap videos and use aspect-ratio CSS or wrapper markup.
Pros:
Cons:
Use approach 2 for the first pass.
This keeps the change simple while doing more than centering alone. It improves desktop placement and avoids the most obvious mobile overflow behavior without forcing an archive-wide content rewrite.
Update _layouts/post.html to style post-body iframes:
display: blockmax-width: 100%margin: 2.5em autoKeep the selector scoped to .post-content iframe so only blog post embeds are affected.
If the result still feels cramped after this pass, the next step should be a focused responsive video system for YouTube embeds using aspect-ratio-aware wrappers.