From dab1a7637ecf2c9219f3e518f6e9964f82ce6655 Mon Sep 17 00:00:00 2001 From: Moepchi Date: Mon, 9 Nov 2026 09:19:15 +0000 Subject: [PATCH] Demo mobile preview: keep floating buttons inside the phone frame Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU --- web/src/App.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/src/App.css b/web/src/App.css index ed7720a..cfe65ff 100644 --- a/web/src/App.css +++ b/web/src/App.css @@ -43,6 +43,9 @@ .ts-app.ts-force-mobile { max-width: 390px; margin: 0 auto; + /* Makes position:fixed children (FABs, dialogs) stick to this phone frame + instead of the browser window. */ + transform: translateZ(0); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 0, 0, 0.5);