Mostly fix FireFox scrolling issues (hopefully), fixes #372
This commit is contained in:
parent
68677e3692
commit
35c3aaa9d8
1 changed files with 5 additions and 5 deletions
|
@ -192,15 +192,15 @@ class Status extends ImmutablePureComponent {
|
||||||
};
|
};
|
||||||
|
|
||||||
renderLoadingMediaGallery() {
|
renderLoadingMediaGallery() {
|
||||||
return <div className='media_gallery' style={{ height: '110px' }} />;
|
return <div className='media_gallery' style={{ height: '285px' }} />;
|
||||||
}
|
}
|
||||||
|
|
||||||
renderLoadingVideoPlayer() {
|
renderLoadingVideoPlayer() {
|
||||||
return <div className='media-spoiler-video' style={{ height: '110px' }} />;
|
return <div className='media-spoiler-video' style={{ height: '285px' }} />;
|
||||||
}
|
}
|
||||||
|
|
||||||
renderLoadingAudioPlayer() {
|
renderLoadingAudioPlayer() {
|
||||||
return <div className='media-spoiler-audio' style={{ height: '110px' }} />;
|
return <div className='media-spoiler-audio' style={{ height: '285px' }} />;
|
||||||
}
|
}
|
||||||
|
|
||||||
handleOpenVideo = (media, startTime) => {
|
handleOpenVideo = (media, startTime) => {
|
||||||
|
@ -373,7 +373,7 @@ class Status extends ImmutablePureComponent {
|
||||||
alt={video.get('description')}
|
alt={video.get('description')}
|
||||||
aspectRatio={video.getIn(['meta', 'small', 'aspect'])}
|
aspectRatio={video.getIn(['meta', 'small', 'aspect'])}
|
||||||
width={this.props.cachedMediaWidth}
|
width={this.props.cachedMediaWidth}
|
||||||
height={110}
|
height={285}
|
||||||
inline
|
inline
|
||||||
sensitive={status.get('sensitive')}
|
sensitive={status.get('sensitive')}
|
||||||
onOpenVideo={this.handleOpenVideo}
|
onOpenVideo={this.handleOpenVideo}
|
||||||
|
@ -409,7 +409,7 @@ class Status extends ImmutablePureComponent {
|
||||||
<Component
|
<Component
|
||||||
media={status.get('media_attachments')}
|
media={status.get('media_attachments')}
|
||||||
sensitive={status.get('sensitive')}
|
sensitive={status.get('sensitive')}
|
||||||
height={110}
|
height={285}
|
||||||
onOpenMedia={this.props.onOpenMedia}
|
onOpenMedia={this.props.onOpenMedia}
|
||||||
cacheWidth={this.props.cacheMediaWidth}
|
cacheWidth={this.props.cacheMediaWidth}
|
||||||
defaultWidth={this.props.cachedMediaWidth}
|
defaultWidth={this.props.cachedMediaWidth}
|
||||||
|
|
Loading…
Reference in a new issue