fix: contain project media layouts
This commit is contained in:
@@ -11,11 +11,15 @@ withDefaults(defineProps<{
|
||||
|
||||
<template>
|
||||
<div v-if="media.length > 0" class="project-media-gallery" :data-media-layout="layout">
|
||||
<ProjectMedia
|
||||
<div
|
||||
v-for="presentation in media"
|
||||
:key="`${presentation.kind}-${presentation.assetId}`"
|
||||
:presentation="presentation"
|
||||
:allow-automatic-video="allowAutomaticVideo"
|
||||
/>
|
||||
class="project-media-gallery__item"
|
||||
>
|
||||
<ProjectMedia
|
||||
:presentation="presentation"
|
||||
:allow-automatic-video="allowAutomaticVideo"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user