Fix spacing after refactor, and video aspect ratio

This commit is contained in:
Oliver Davies 2023-01-31 00:17:09 +00:00
parent 8735684d0e
commit ed1d142de9
4 changed files with 18 additions and 18 deletions

View file

@ -15,7 +15,7 @@ const { id, type }: Props = Astro.props;
<div>
<iframe
allowfullscreen
class="w-full aspect-video"
class="w-full aspect-[16/9]"
frameborder="0"
src={`https://www.youtube.com/embed/${id}?rel=0&iv_load_policy=3`}
/>