Skip to content

Commit

Permalink
Merge pull request #36 from SpeciesFileGroup/widget_geographic_search
Browse files Browse the repository at this point in the history
Update thumbnail
  • Loading branch information
José Luis Pereira authored and GitHub committed Mar 27, 2023
2 parents c29d681 + 3ece111 commit 3482612
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 3482612

Please sign in to comment.