kanban : fix extended brief step
This commit is contained in:
parent
25a24a5e0d
commit
cf6ff8cbbb
326 changed files with 534 additions and 325 deletions
|
|
@ -47,23 +47,6 @@
|
|||
:alt="image.alt"
|
||||
/>
|
||||
</figure>
|
||||
<figure
|
||||
v-if="step.id === 'extendedBrief'"
|
||||
class="card__images"
|
||||
:data-count="step.files.dynamic.length"
|
||||
:data-plus="
|
||||
step.files.dynamic.length > 3
|
||||
? step.files.dynamic.length - 3
|
||||
: undefined
|
||||
"
|
||||
>
|
||||
<img
|
||||
v-for="image in step.files.dynamic.slice(0, 3)"
|
||||
:key="image.uuid"
|
||||
:src="image.url"
|
||||
:alt="image.alt"
|
||||
/>
|
||||
</figure>
|
||||
<figure
|
||||
v-if="step.id === 'virtualSample'"
|
||||
class="card__images"
|
||||
|
|
@ -125,7 +108,11 @@
|
|||
>
|
||||
</div>
|
||||
<template v-if="index === 0">
|
||||
<figure v-if="file.cover" class="card__images pdf-cover" style="aspect-ratio: unset">
|
||||
<figure
|
||||
v-if="file.cover"
|
||||
class="card__images pdf-cover"
|
||||
style="aspect-ratio: unset"
|
||||
>
|
||||
<img :src="file.cover" alt="" />
|
||||
</figure>
|
||||
<div v-else class="card__images" data-icon="document"></div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue