From 6da838a6ee543e0c603ed5504ba360bb38bc0d1a Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Mon, 6 Oct 2025 20:59:47 -0700 Subject: [PATCH] shrink content --- src/js/browser.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/browser.ts b/src/js/browser.ts index 0f0c6f6..f39e2de 100644 --- a/src/js/browser.ts +++ b/src/js/browser.ts @@ -53,8 +53,8 @@ function closeBrowser() { if (showInput) addInput(id, "browse " + realUrl, "ok") - iframe.height = String(HEIGHT / 2) - iframe.width = String(WIDTH / 2) + iframe.style.transformOrigin = "top left" + iframe.style.transform = "scale(0.5)" iframe.style.pointerEvents = "none" iframe.tabIndex = -1 iframe.classList.remove("fullscreen", "active")