Mostly fix FireFox scrolling issues (hopefully), fixes #372

merge-requests/155/head
Alex Gleason 2020-08-30 18:38:50 -05:00
rodzic 68677e3692
commit 35c3aaa9d8
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -192,15 +192,15 @@ class Status extends ImmutablePureComponent {
};
renderLoadingMediaGallery() {
return <div className='media_gallery' style={{ height: '110px' }} />;
return <div className='media_gallery' style={{ height: '285px' }} />;
}
renderLoadingVideoPlayer() {
return <div className='media-spoiler-video' style={{ height: '110px' }} />;
return <div className='media-spoiler-video' style={{ height: '285px' }} />;
}
renderLoadingAudioPlayer() {
return <div className='media-spoiler-audio' style={{ height: '110px' }} />;
return <div className='media-spoiler-audio' style={{ height: '285px' }} />;
}
handleOpenVideo = (media, startTime) => {
@ -373,7 +373,7 @@ class Status extends ImmutablePureComponent {
alt={video.get('description')}
aspectRatio={video.getIn(['meta', 'small', 'aspect'])}
width={this.props.cachedMediaWidth}
height={110}
height={285}
inline
sensitive={status.get('sensitive')}
onOpenVideo={this.handleOpenVideo}
@ -409,7 +409,7 @@ class Status extends ImmutablePureComponent {
<Component
media={status.get('media_attachments')}
sensitive={status.get('sensitive')}
height={110}
height={285}
onOpenMedia={this.props.onOpenMedia}
cacheWidth={this.props.cacheMediaWidth}
defaultWidth={this.props.cachedMediaWidth}