From a1b065700a9aafd0989bd5686c849f961f727c83 Mon Sep 17 00:00:00 2001 From: Eugen Rochko <eugen@zeonfederated.com> Date: Wed, 7 Mar 2018 12:01:53 +0100 Subject: [PATCH] Fix focal point modals broken by #5956 (#6676) --- .../mastodon/features/ui/components/focal_point_modal.js | 4 ++-- 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 index ee5c791d4a..1038e18647 100644 --- 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')}