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;