mirror of
https://github.com/tomru/pdfer.git
synced 2026-03-03 14:37:21 +01:00
use iframe for pdf preview, embed has weird caching issues
This commit is contained in:
@@ -20,6 +20,6 @@ export default props => {
|
||||
}
|
||||
|
||||
return (
|
||||
<embed src={props.pdfUrl} width="600px" height="1000px"/>
|
||||
<iframe src={props.pdfUrl} style="width:718px; height:700px;" frameborder="0"></iframe>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user