This commit is contained in:
Lucas Kent 2022-11-21 15:12:21 -05:00 committed by GitHub
parent 5a57fce61d
commit ed3ac7e031

View File

@ -8,24 +8,6 @@
<iframe src="/pdf/web/test.pdf#toolbar=0"></iframe> <iframe src="/pdf/web/test.pdf#toolbar=0"></iframe>
</div> </div>
</body> </body>
<style>
.container {
position: relative;
overflow: hidden;
width: 100%;
padding-top: 75%;
}
.responsive-iframe {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
width: 8.5in;
height: 11in;
}
</style>
<style> <style>
*{ *{
margin:0; margin:0;
@ -33,8 +15,8 @@
} }
iframe{ iframe{
position: fixed; position: fixed;
height: 100%; height: 11in;
width: 100%; width: 8.5in;
border:none; border:none;
} }
</style> </style>