Demo mobile preview: keep floating buttons inside the phone frame

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
This commit is contained in:
MoepchiandClaude Opus 5.5 committed 2026-11-09 09:19:15 +00:00
1 parent a4da3409bc
commit dab1a7637e
1 file changed
+3
+3
View File
@@ -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);