diff --git a/libs/ui/src/components/MediaItem/type/ImageMedia.vue b/libs/ui/src/components/MediaItem/type/ImageMedia.vue index b78bde8528..dac37dc1a7 100644 --- a/libs/ui/src/components/MediaItem/type/ImageMedia.vue +++ b/libs/ui/src/components/MediaItem/type/ImageMedia.vue @@ -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}`, )