svg + responsive
This commit is contained in:
+10
-4
@@ -169,9 +169,15 @@
|
||||
}
|
||||
|
||||
|
||||
#pdf_iframe {
|
||||
width: min(100%, 1400px);
|
||||
aspect-ratio: 297 / 210;
|
||||
.container {
|
||||
height: 100%;
|
||||
overflow-x: scroll;
|
||||
white-space: nowrap;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#img_svg {
|
||||
width: max(800px, 70%);
|
||||
border: 1px solid #ccc;
|
||||
margin: 1rem auto;
|
||||
}
|
||||
@@ -179,4 +185,4 @@
|
||||
footer {
|
||||
margin-top: 2em;
|
||||
text-align: center
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user