Commit 4b9e02e
fix(examples-chat): responsive shell side panels at <=1024px (#240)
The demo shell pinned the threads panel (left, 240px) and timeline panel
(right, 280px) as fixed-position columns with no breakpoints. At 1024px
viewport both panels open the chat column shrank to ~480px; below 768px
they overlapped the central chat surface and each other.
Two breakpoints:
- <=1024px: narrow the two panels to 200/240px so the chat keeps ~560px
- <=768px: promote both panels to a centered floating sheet (gutter-aligned,
rounded, shadowed) so they stack above the chat instead of crowding it
Toggle behaviour is unchanged; only the geometry of the open state shifts.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 608189d commit 4b9e02e
1 file changed
Lines changed: 25 additions & 0 deletions
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
0 commit comments