We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f47f08 commit 5d709f1Copy full SHA for 5d709f1
1 file changed
adminforth/spa/index.html
@@ -20,7 +20,7 @@
20
<script>
21
const embedZoom = Number(new URLSearchParams(window.location.search).get('embedZoom'));
22
if (Number.isFinite(embedZoom) && embedZoom > 0) {
23
- document.body.style.zoom = String(embedZoom);
+ document.documentElement.style.fontSize = `${embedZoom * 100}%`;
24
}
25
</script>
26
<div id="app" class="grow bg-lightHtml dark:bg-darkHtml w-full"></div>
0 commit comments