diff --git a/apps/renderer/src/components/ui/media.tsx b/apps/renderer/src/components/ui/media.tsx index dd7e8648a..cc5522c54 100644 --- a/apps/renderer/src/components/ui/media.tsx +++ b/apps/renderer/src/components/ui/media.tsx @@ -300,7 +300,6 @@ const MediaImpl: FC = ({ width={Number.parseInt(props.width as string)} height={Number.parseInt(props.height as string)} containerWidth={containerWidth} - noScale={inline} fitContent={fitContent} >
{ - const scaleFactor = noScale - ? 1 - : containerWidth && width + const scaleFactor = + containerWidth && width ? fitContent ? containerWidth / width : Math.min(1, containerWidth / width)