Skip to content

Commit ea0b55a

Browse files
committed
Change MFM image's backgroundSize from cover to contain
1 parent 5d2feff commit ea0b55a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui/ImageRenderer/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ const ImageRenderer = ({
100100
const backgroundStyle = internalUrl ? {
101101
backgroundRepeat: 'no-repeat',
102102
backgroundPosition: 'center',
103-
backgroundSize: 'cover',
103+
backgroundSize: 'contain',
104104
backgroundImage: `url(${internalUrl})`,
105105
} : {};
106106

0 commit comments

Comments
 (0)