Skip to content

Commit

Permalink
fix: fix safari image issue
Browse files Browse the repository at this point in the history
  • Loading branch information
DanSnow committed May 17, 2024
1 parent 14eb9b0 commit 9ef8206
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/ui/avatar/AvatarImage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ const props = defineProps<AvatarImageProps>()
</script>

<template>
<AvatarImage v-bind="props" class="h-full max-w-32 object-cover md:max-w-48" />
<!-- w-full is required for properly style on Safari -->
<AvatarImage v-bind="props" class="h-full w-full max-w-32 object-cover md:max-w-48" />
</template>

0 comments on commit 9ef8206

Please sign in to comment.