0
0
Fork 0

Detailed status view scrollable

This commit is contained in:
Eugen Rochko 2016-09-18 13:03:37 +02:00
parent ab7291b8fe
commit 08896f7dcf
3 changed files with 15 additions and 10 deletions

View file

@ -69,7 +69,7 @@ const Status = React.createClass({
if (status.getIn(['media_attachments', 0, 'type']) === 'video') {
media = <VideoPlayer media={status.getIn(['media_attachments', 0])} />;
} else {
media = <MediaGallery media={status.get('media_attachments')} />;
media = <MediaGallery media={status.get('media_attachments')} height={110} />;
}
}