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
|
|
@ -31,7 +31,7 @@ const { events } = Astro.props;
|
|||
) : (
|
||||
event.name
|
||||
)}
|
||||
{event.location && `in ${event.location}`}-{" "}
|
||||
{event.location && `in ${event.location} -`}
|
||||
{new Date(event.date).toLocaleDateString("en-GB", {
|
||||
day: "numeric",
|
||||
month: "long",
|
||||
|
|
|
|||
|
|
@ -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