Status: normalize media attachments

This commit is contained in:
Alex Gleason
2022-02-11 17:56:34 -06:00
parent a9346a6db6
commit 63fa3e7154
6 changed files with 406 additions and 5 deletions

View File

@@ -88,7 +88,7 @@ class MediaItem extends ImmutablePureComponent {
thumbnail = (
<StillImage
src={attachment.get('preview_url') || attachment.get('url')}
src={attachment.get('preview_url')}
alt={attachment.get('description')}
style={{ objectPosition: `${x}% ${y}%` }}
/>