Skip to content

Commit e2d55c1

Browse files
committed
docs: fix modal size
1 parent 803591d commit e2d55c1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/pages/index.vue

+4-4
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ onMounted(() => {
7171
<span v-html="page?.hero.description" />
7272
</template>
7373

74-
<UModal v-model="videoModalOpen">
75-
<div class="p-3">
74+
<UModal v-model="videoModalOpen" :ui="{ width: 'sm:max-w-4xl lg:max-w-5xl aspect-[16/9]' }">
75+
<div class="p-3 h-full">
7676
<iframe
7777
width="100%"
78-
height="315"
78+
height="100%"
7979
:src="`https://www.youtube-nocookie.com/embed/${videoLink.split('=')[1]}`"
8080
frameborder="0"
8181
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
@@ -378,7 +378,7 @@ onMounted(() => {
378378
/>
379379
</div>
380380

381-
<ULandingSection class="relative mt-32" :ui="{ title: 'z-10' }">
381+
<ULandingSection class="relative mt-32" :ui="{ title: 'z-10 2xl:pt-10' }">
382382
<template #title>
383383
<span v-html="page?.journey.title" />
384384
</template>

0 commit comments

Comments
 (0)