mirror of
https://github.com/mastodon/mastodon.git
synced 2025-10-05 16:42:47 +00:00
Fix unresponsive areas around GIFV modals in some cases (#36059)
This commit is contained in:
parent
9d0e73d308
commit
2347354bba
|
@ -201,8 +201,6 @@ class MediaModal extends ImmutablePureComponent {
|
||||||
preview={image.get('preview_url')}
|
preview={image.get('preview_url')}
|
||||||
blurhash={image.get('blurhash')}
|
blurhash={image.get('blurhash')}
|
||||||
src={image.get('url')}
|
src={image.get('url')}
|
||||||
width={image.get('width')}
|
|
||||||
height={image.get('height')}
|
|
||||||
frameRate={image.getIn(['meta', 'original', 'frame_rate'])}
|
frameRate={image.getIn(['meta', 'original', 'frame_rate'])}
|
||||||
aspectRatio={`${image.getIn(['meta', 'original', 'width'])} / ${image.getIn(['meta', 'original', 'height'])}`}
|
aspectRatio={`${image.getIn(['meta', 'original', 'width'])} / ${image.getIn(['meta', 'original', 'height'])}`}
|
||||||
startTime={currentTime || 0}
|
startTime={currentTime || 0}
|
||||||
|
@ -219,8 +217,6 @@ class MediaModal extends ImmutablePureComponent {
|
||||||
return (
|
return (
|
||||||
<GIFV
|
<GIFV
|
||||||
src={image.get('url')}
|
src={image.get('url')}
|
||||||
width={width}
|
|
||||||
height={height}
|
|
||||||
key={image.get('url')}
|
key={image.get('url')}
|
||||||
alt={description}
|
alt={description}
|
||||||
lang={lang}
|
lang={lang}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user