Browse Source

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

pull/4/head
Eugen Rochko 3 years ago
committed by GitHub
parent
commit
a1b065700a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/javascript/mastodon/features/ui/components/focal_point_modal.js

+ 2
- 2
app/javascript/mastodon/features/ui/components/focal_point_modal.js View File

@ -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')}

Loading…
Cancel
Save