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

master
Eugen Rochko 7 years ago committed by GitHub
parent 8de048fcdb
commit a1b065700a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      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; const height = media.getIn(['meta', 'original', 'height']) || null;
return ( return (
<div className='modal-root__modal media-modal'> <div className='modal-root__modal video-modal'>
<div className={classNames('media-modal__content focal-point', { dragging })} ref={this.setRef}> <div className={classNames('focal-point', { dragging })} ref={this.setRef}>
<ImageLoader <ImageLoader
previewSrc={media.get('preview_url')} previewSrc={media.get('preview_url')}
src={media.get('url')} src={media.get('url')}

Loading…
Cancel
Save