Galleria thumbnail demo fixes
parent
27ab8ee07b
commit
3efe61c605
|
@ -31,7 +31,7 @@
|
|||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" :style="[{ width: !fullScreen ? '100%' : '', display: !fullScreen ? 'block' : '' }]" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<div class="grid grid-cols-12 gap-4 justify-center">
|
||||
<div class="grid gap-4 justify-center">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" style="display: block" />
|
||||
</div>
|
||||
</template>
|
||||
|
@ -105,7 +105,7 @@ export default {
|
|||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" :style="[{ width: !fullScreen ? '100%' : '', display: !fullScreen ? 'block' : '' }]" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<div class="grid grid-cols-12 gap-4 justify-center">
|
||||
<div class="grid gap-4 justify-center">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" style="display: block" />
|
||||
</div>
|
||||
</template>
|
||||
|
@ -154,7 +154,7 @@ export default {
|
|||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" :style="[{ width: !fullScreen ? '100%' : '', display: !fullScreen ? 'block' : '' }]" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<div class="grid grid-cols-12 gap-4 justify-center">
|
||||
<div class="grid gap-4 justify-center">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" style="display: block" />
|
||||
</div>
|
||||
</template>
|
||||
|
@ -300,7 +300,7 @@ export default {
|
|||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" :style="[{ width: !fullScreen ? '100%' : '', display: !fullScreen ? 'block' : '' }]" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<div class="grid grid-cols-12 gap-4 justify-center">
|
||||
<div class="grid gap-4 justify-center">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" style="display: block" />
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<div class="grid grid-cols-12 gap-4 justify-center">
|
||||
<div class="grid gap-4 justify-center">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block" />
|
||||
</div>
|
||||
</template>
|
||||
|
@ -68,7 +68,7 @@ export default {
|
|||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<div class="grid grid-cols-12 gap-4 justify-center">
|
||||
<div class="grid gap-4 justify-center">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</div>
|
||||
</template>
|
||||
|
@ -88,7 +88,7 @@ export default {
|
|||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<div class="grid grid-cols-12 gap-4 justify-center">
|
||||
<div class="grid gap-4 justify-center">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</div>
|
||||
</template>
|
||||
|
@ -154,7 +154,7 @@ export default {
|
|||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<div class="grid grid-cols-12 gap-4 justify-center">
|
||||
<div class="grid gap-4 justify-center">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
@ -10,6 +10,7 @@ import BasicDoc from '@/doc/galleria/BasicDoc.vue';
|
|||
import CaptionDoc from '@/doc/galleria/CaptionDoc.vue';
|
||||
import ControlledDoc from '@/doc/galleria/ControlledDoc.vue';
|
||||
import ImportDoc from '@/doc/galleria/ImportDoc.vue';
|
||||
import ThumbnailDoc from '@/doc/galleria/ThumbnailDoc.vue';
|
||||
import ResponsiveDoc from '@/doc/galleria/ResponsiveDoc.vue';
|
||||
import CustomContentDoc from '@/doc/galleria/fullscreen/CustomContentDoc.vue';
|
||||
import WithThumbnailsDoc from '@/doc/galleria/fullscreen/WithThumbnailsDoc.vue';
|
||||
|
@ -70,12 +71,12 @@ export default {
|
|||
component: TemplateDoc
|
||||
}
|
||||
]
|
||||
} /*,
|
||||
},
|
||||
{
|
||||
id: 'thumbnail',
|
||||
label: 'Thumbnail',
|
||||
component: ThumbnailDoc
|
||||
},*/,
|
||||
},
|
||||
{
|
||||
id: 'responsive',
|
||||
label: 'Responsive',
|
||||
|
|
Loading…
Reference in New Issue