Skip to content

Commit

Permalink
🔧 ImageMedia object-contain
Browse files Browse the repository at this point in the history
  • Loading branch information
roiLeo committed Oct 15, 2024
1 parent 53f38bc commit 140c4b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/ui/src/components/MediaItem/type/ImageMedia.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const loading = computed<'eager' | 'lazy'>(() =>
const className = computed(() =>
!props.original && !props.isFullscreen
? 'object-cover absolute inset-0 w-full h-full !rounded-none'
? 'object-contain absolute inset-0 w-full h-full !rounded-none'
: 'block !rounded-none',
)
Expand Down

0 comments on commit 140c4b9

Please sign in to comment.