Commit 7e6c753
Fix mobile chat overflow and make reconnect banner non-shifting
On iPhone Safari (and other narrow viewports) the chat would overflow
horizontally when content arrived, and the reconnect indicator banner
would push the chat down/up as it mounted/unmounted, jumping text out
from under the user.
Changes:
- Bump eca-webview to pick up CSS hardening for chat messages: prose
now wraps long unbreakable tokens, syntax-highlighted code blocks
scroll internally, and the messages container can shrink to viewport
width before children measure (eca-webview 646ac5a).
- AppLayout.css: defensive viewport clip on html/body
(max-width: 100vw; overflow-x: hidden) plus width: 100% on .app-layout.
Belt-and-suspenders against iOS Safari's horizontal rubber-band.
- RemoteSession.css: convert .reconnect-banner from a flex sibling to
position: absolute (anchored to .remote-session, which already has
position: relative). The chat no longer reflows when the banner
mounts/unmounts, addressing the reporter's explicit request to make
the indicator an overlay rather than a layout shifter.
Closes #1.
🤖 Generated with [eca](https://eca.dev)
Co-Authored-By: eca-agent <git@eca.dev>1 parent 628f02a commit 7e6c753
3 files changed
Lines changed: 21 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
1 | 11 | | |
2 | 12 | | |
3 | 13 | | |
| 14 | + | |
4 | 15 | | |
5 | 16 | | |
6 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
75 | 81 | | |
76 | 82 | | |
77 | 83 | | |
| |||
82 | 88 | | |
83 | 89 | | |
84 | 90 | | |
85 | | - | |
| 91 | + | |
86 | 92 | | |
87 | 93 | | |
88 | 94 | | |
| |||
0 commit comments