Inventory polish: smaller phone/notebook, phone higher, auto-open, exit to board

The phone and notebook render a bit smaller; the phone sits higher on screen;
in-game the handset opens automatically (session mode); and the tool view
gains an EXIT ✕ that closes the inventory straight back to the board.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-08-22 20:17:08 +02:00
co-authored by Claude Opus 4.8
parent c1c424ab25
commit a154849b3f
3 changed files with 7 additions and 4 deletions
+1
View File
@@ -91,6 +91,7 @@ export function Inventory({ onClose, session, onTearToBoard }: { onClose?: () =>
if (active) return <div className="inv-tool">
<button className="inv-back" onClick={() => setActive(null)}> TOOLS</button>
{onClose && <button className="inv-exit" onClick={onClose}>EXIT </button>}
{active === 'phone' ? <PhonePreview session={session} /> : <NotebookTool playthroughId={session?.playthroughId} onTear={onTearToBoard} />}
</div>