Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Fixing pdfjs editor for Safari
Browse files Browse the repository at this point in the history
  • Loading branch information
ghecquet committed May 17, 2017
1 parent 8b01b50 commit 0f1e653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/plugins/editor.pdfjs/res/js/editor.js
Expand Up @@ -76,7 +76,7 @@ class Viewer extends Component {
if (!url) return null

return (
<iframe {...this.props} style={{width: "100%", height: "100%", border: 0}} src={url} />
<iframe {...this.props} style={{flex: 1, width: "100%", height: "100%", border: 0}} src={url} />
);
}
}
Expand Down

0 comments on commit 0f1e653

Please sign in to comment.