Fix spacing after refactor, and video aspect ratio
This commit is contained in:
parent
8735684d0e
commit
ed1d142de9
4 changed files with 18 additions and 18 deletions
|
|
@ -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`}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue