Skip to content

Commit

Permalink
Update thumbnail
Browse files Browse the repository at this point in the history
  • Loading branch information
jlpereira committed Mar 27, 2023
1 parent 7a24e6e commit 3ece111
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/components/Gallery/GalleryThumbnail.vue
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
<template>
<div
<div
class="bg-base-background flex flex-col justify-center cursor-pointer w-24 max-h-20 h-20 border-base-muted rounded-md border"
:title="title"
>
<img
class="max-h-20 max-w-24 h-20 w-24 object-cover rounded"
<img
class="max-h-20 max-w-24 h-20 w-24 object-contain rounded"
:alt="title"
:src="image.thumb"
>
/>
</div>
</template>

<script setup>
defineProps({
image: {
type: Object,
Expand All @@ -24,4 +23,4 @@ defineProps({
default: undefined
}
})
</script>
</script>

0 comments on commit 3ece111

Please sign in to comment.