Skip to content

Commit

Permalink
Merge pull request #11293 from hassnian/issue-11292
Browse files Browse the repository at this point in the history
fix: Swap Item preview overflowing
  • Loading branch information
vikiival authored Dec 26, 2024
2 parents f97c718 + ca19ff5 commit 6c49487
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 6c49487

Please sign in to comment.