shrink content

This commit is contained in:
Chris Wanstrath 2025-10-06 20:59:47 -07:00
parent 8435a63a99
commit 6da838a6ee

View File

@ -53,8 +53,8 @@ function closeBrowser() {
if (showInput) if (showInput)
addInput(id, "browse " + realUrl, "ok") addInput(id, "browse " + realUrl, "ok")
iframe.height = String(HEIGHT / 2) iframe.style.transformOrigin = "top left"
iframe.width = String(WIDTH / 2) iframe.style.transform = "scale(0.5)"
iframe.style.pointerEvents = "none" iframe.style.pointerEvents = "none"
iframe.tabIndex = -1 iframe.tabIndex = -1
iframe.classList.remove("fullscreen", "active") iframe.classList.remove("fullscreen", "active")