mirror of
https://github.com/tomru/pdfer.git
synced 2026-03-04 06:57:20 +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 (
|
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