Fix PhysicalSample vertical scrolling

This commit is contained in:
Timothée Goguely 2024-12-18 16:01:01 +01:00
parent d64e8185e7
commit 6abeddb914
3 changed files with 12 additions and 8 deletions

View file

@ -14,10 +14,12 @@
<time class="font-medium text-sm py-8" :datetime="physicalSample.date">{{ physicalSample.date }}</time>
<p>{{ physicalSample.description }}</p>
</template>
<div class="masonry flow mt-32">
<template v-for="(item, index) in physicalSample.files" :key="item.id">
<img class="rounded-xl" :src="item.url" :alt="item.alt" :data-id="item.id" />
</template>
<div class="overflow-y h-full pb-32">
<div class="masonry flow pt-32">
<template v-for="(item, index) in physicalSample.files" :key="item.id">
<img class="rounded-xl" :src="item.url" :alt="item.alt" :data-id="item.id" />
</template>
</div>
</div>
</Dialog>
</template>