diff options
author | Ondřej Hruška <ondra@ondrovo.com> | 2017-09-22 21:47:14 +0200 |
---|---|---|
committer | Ondřej Hruška <ondra@ondrovo.com> | 2017-09-22 21:47:14 +0200 |
commit | 31dd261375aa50a56aff8552d9feeb571ba0e11e (patch) | |
tree | 058d246721244b393bf6278c8a6d37c58e748db9 /app/javascript/mastodon | |
parent | c2b479efecf1ce1f4a45e626963b7ce7e203b8d6 (diff) |
applied blackle's fix for gallery offset with full-width media
Diffstat (limited to 'app/javascript/mastodon')
-rw-r--r-- | app/javascript/mastodon/features/status/components/detailed_status.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/javascript/mastodon/features/status/components/detailed_status.js b/app/javascript/mastodon/features/status/components/detailed_status.js index a098322ba..b4979c603 100644 --- a/app/javascript/mastodon/features/status/components/detailed_status.js +++ b/app/javascript/mastodon/features/status/components/detailed_status.js @@ -53,6 +53,7 @@ export default class DetailedStatus extends ImmutablePureComponent { sensitive={status.get('sensitive')} media={status.getIn(['media_attachments', 0])} letterbox={settings.getIn(['media', 'letterbox'])} + fullwidth={settings.getIn(['media', 'fullwidth'])} height={250} onOpenVideo={this.props.onOpenVideo} autoplay @@ -65,6 +66,7 @@ export default class DetailedStatus extends ImmutablePureComponent { sensitive={status.get('sensitive')} media={status.get('media_attachments')} letterbox={settings.getIn(['media', 'letterbox'])} + fullwidth={settings.getIn(['media', 'fullwidth'])} height={250} onOpenMedia={this.props.onOpenMedia} autoPlayGif={this.props.autoPlayGif} |