Browse Source

fix linting

Trent Larson 6 days ago
parent
commit
e95b67b6db
  1. 7
      src/components/ImageViewer.vue

7
src/components/ImageViewer.vue

@ -1,10 +1,7 @@
<template>
<Teleport to="body">
<Transition name="fade">
<div
v-if="isOpen"
class="fixed inset-0 z-50 flex flex-col bg-black/90"
>
<div v-if="isOpen" class="fixed inset-0 z-50 flex flex-col bg-black/90">
<!-- Header bar - fixed height to prevent overlap -->
<div class="h-16 flex justify-between items-center px-4 bg-black">
<button
@ -69,7 +66,7 @@ export default class ImageViewer extends Vue {
if (navigator.share) {
// Always share the URL since it's more reliable across platforms
await navigator.share({
url: this.imageUrl
url: this.imageUrl,
});
} else {
// Fallback for browsers without share API

Loading…
Cancel
Save