From 50f538670bf92eed117990e68e6100da04d2a4f3 Mon Sep 17 00:00:00 2001 From: Jeffrey Alan Scudder Date: Sat, 27 Dec 2025 13:26:47 -0800 Subject: [PATCH] =?UTF-8?q?fix:=20rotate=20mode=20tag=20180=C2=B0,=20add?= =?UTF-8?q?=20nogap=20for=20desktop=20mode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ac-electron/main.js | 8 ++++---- ac-electron/renderer/flip-view.html | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ac-electron/main.js b/ac-electron/main.js index 1c64fe846..cc2a74b83 100644 --- a/ac-electron/main.js +++ b/ac-electron/main.js @@ -118,10 +118,10 @@ const startWithShell = args.includes('--shell'); const pieceArg = args.find(a => a.startsWith('--piece=')) || args[args.indexOf('--piece') + 1]; const initialPiece = pieceArg?.replace('--piece=', '') || 'prompt'; -// URLs +// URLs - nogap removes the aesthetic gap border for desktop mode const URLS = { - production: `https://aesthetic.computer/${initialPiece}`, - development: `http://localhost:8888/${initialPiece}` + production: `https://aesthetic.computer/${initialPiece}?nogap=true`, + development: `http://localhost:8888/${initialPiece}?nogap=true` }; // Track all windows: windowId -> { window, mode, ptyProcess? } @@ -468,7 +468,7 @@ function createMenu() { function navigateTo(piece) { const mode = getFocusedWindowMode(); const baseUrl = mode === 'production' ? 'https://aesthetic.computer' : 'http://localhost:8888'; - getFocusedWindow()?.webContents.send('navigate', `${baseUrl}/${piece}`); + getFocusedWindow()?.webContents.send('navigate', `${baseUrl}/${piece}?nogap=true`); } function createWindow(mode = 'production') { diff --git a/ac-electron/renderer/flip-view.html b/ac-electron/renderer/flip-view.html index 6f8c129b9..b0587057a 100644 --- a/ac-electron/renderer/flip-view.html +++ b/ac-electron/renderer/flip-view.html @@ -148,7 +148,7 @@ z-index: 100; /* Above content to be visible */ bottom: -4px; /* Peek from bottom edge */ left: 50%; - transform: translateX(-50%); + transform: translateX(-50%) rotate(180deg); font-size: 9px; font-weight: 700; letter-spacing: 1px; -- 2.51.2