logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: a1b065700a9aafd0989bd5686c849f961f727c83
parent: 8de048fcdb328167922f3056e460afc6f055cb8d
Author: Eugen Rochko <eugen@zeonfederated.com>
Date:   Wed,  7 Mar 2018 12:01:53 +0100

Fix focal point modals broken by #5956 (#6676)


Diffstat:

Mapp/javascript/mastodon/features/ui/components/focal_point_modal.js4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/javascript/mastodon/features/ui/components/focal_point_modal.js b/app/javascript/mastodon/features/ui/components/focal_point_modal.js @@ -103,8 +103,8 @@ export default class FocalPointModal extends ImmutablePureComponent { const height = media.getIn(['meta', 'original', 'height']) || null; return ( - <div className='modal-root__modal media-modal'> - <div className={classNames('media-modal__content focal-point', { dragging })} ref={this.setRef}> + <div className='modal-root__modal video-modal'> + <div className={classNames('focal-point', { dragging })} ref={this.setRef}> <ImageLoader previewSrc={media.get('preview_url')} src={media.get('url')}