Skip to content

Commit

Permalink
fix(ImageMedia.vue): nft card image overflowing
Browse files Browse the repository at this point in the history
  • Loading branch information
hassnian committed Dec 25, 2024
1 parent 9d4da0d commit ca19ff5
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-contain absolute inset-0 w-full h-full !rounded-none'
? 'object-contain absolute inset-0 w-full max-h-full !rounded-none'
: 'block !rounded-none') + ` ${props.innerClass}`,
)
Expand Down

0 comments on commit ca19ff5

Please sign in to comment.