Compare commits

...

2 Commits

Author SHA1 Message Date
b92b40d9f1 update build.js 2025-10-06 20:59:50 -07:00
6da838a6ee shrink content 2025-10-06 20:59:47 -07:00
2 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
//// ////
// version: 71de13c // version: 6da838a
// src/js/dom.ts // src/js/dom.ts
var content2 = $("content"); var content2 = $("content");
@ -197,8 +197,8 @@ function closeBrowser() {
const id = randomId(); const id = randomId();
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");

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")