svg + responsive

This commit is contained in:
2026-08-09 11:13:28 +02:00
parent 0f344a1ab7
commit 7f53bc6488
4 changed files with 62 additions and 36 deletions
+10 -4
View File
@@ -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
}
}