Skip to content

Commit

Permalink
Add attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
jlpereira committed Jul 11, 2023
1 parent 2aa1f00 commit b47deb8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/ImageViewer/ControlImageNext.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<button
type="button"
class="p-2 cursor-pointer opacity-50 bg-base-content text-base-background"
title="Next image"
>
<IconArrowRight class="h-8 w-8" />
</button>
</template>

<script setup>
</script>
<script setup></script>
4 changes: 2 additions & 2 deletions src/components/ImageViewer/ControlImagePrevious.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<button
type="button"
class="p-2 cursor-pointer opacity-50 bg-base-content text-base-background"
title="Previous image"
>
<IconArrowLeft class="h-8 w-8" />
</button>
</template>
<script setup>
</script>
<script setup></script>
1 change: 1 addition & 0 deletions src/components/ImageViewer/ImageViewer.global.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<img
ref="imageElement"
class="mx-auto cursor-zoom-out w-auto max-w-full max-h-full h-auto my-auto"
:alt="image.depictions.map((d) => d.label).join(';')"
:src="image.original"
@click="emit('close')"
/>
Expand Down

0 comments on commit b47deb8

Please sign in to comment.