about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-03-07 12:01:53 +0100
committerGitHub <noreply@github.com>2018-03-07 12:01:53 +0100
commita1b065700a9aafd0989bd5686c849f961f727c83 (patch)
tree0acda25dae98d0dc4761b4033031a5e49b247c71
parent8de048fcdb328167922f3056e460afc6f055cb8d (diff)
Fix focal point modals broken by #5956 (#6676)
-rw-r--r--app/javascript/mastodon/features/ui/components/focal_point_modal.js4
1 files 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 ee5c791d4..1038e1864 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')}