Commit ecff69a
fix(frontend): mobile responsive layout issues (#1538)
<!-- acp:session_id=session-13bf6540-776e-4d4a-9798-d67b8132a0a8
source=#1537 last_action=2026-05-08T20:01:03Z retry_count=0 -->
## Summary
- **Sidebar**: On mobile viewports (<768px), the sessions sidebar now
renders as a Sheet (slide-in drawer overlay) instead of an inline panel.
Tapping the hamburger menu icon opens it; navigating to a session
auto-closes it.
- **Explorer panel**: On mobile, the explorer panel renders as a Sheet
overlay from the right instead of consuming horizontal space from the
chat area.
- **Content tabs**: Increased touch targets to 36px minimum height on
mobile. Added hidden scrollbar for horizontal overflow. Close buttons
are always visible on touch devices.
- **Header**: Added responsive hamburger menu on mobile, condensed
branding to "ACP", icon-only integrations button, and reduced padding.
- **Chat toolbar**: Responsive popover widths (full viewport width minus
margins on mobile, 500px on desktop). Added gap between toolbar
sections.
- **Session list items**: Increased tap targets, action menu always
visible on mobile (no hover-only opacity).
## Test plan
- [ ] Open the app on an iPhone or Chrome DevTools mobile emulator
(375px width)
- [ ] Verify sidebar opens as a full-height slide-in drawer from the
left
- [ ] Verify tapping a session navigates and closes the drawer
- [ ] Verify the explorer panel opens as a drawer from the right on
mobile
- [ ] Verify chat content area fills the full viewport height (no empty
black space)
- [ ] Verify tabs are tappable with adequate touch targets
- [ ] Verify the toolbar popovers (Agents, Commands) fit within the
viewport
- [ ] Verify desktop layout is unchanged (above 768px)
Closes #1537
---
🤖 [Ambient
Session](https://ambient-code.apps.rosa.vteam-uat.0ksl.p3.openshiftapps.com/projects/ambient-platform-and-workflow-feedback-loop-running/sessions/session-13bf6540-776e-4d4a-9798-d67b8132a0a8)
Co-authored-by: Ambient Code Bot <bot@ambient-code.local>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 070520c commit ecff69a
5 files changed
Lines changed: 206 additions & 102 deletions
File tree
- components/frontend/src
- app/projects/[name]
- sessions/[sessionName]
- components
- components/chat
Lines changed: 93 additions & 38 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| |||
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
43 | 50 | | |
44 | 51 | | |
45 | 52 | | |
| |||
54 | 61 | | |
55 | 62 | | |
56 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
57 | 69 | | |
58 | 70 | | |
59 | 71 | | |
60 | 72 | | |
61 | 73 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 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 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
77 | 112 | | |
78 | 113 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
| 114 | + | |
85 | 115 | | |
86 | 116 | | |
87 | 117 | | |
88 | 118 | | |
89 | 119 | | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
95 | 135 | | |
96 | 136 | | |
97 | 137 | | |
| |||
101 | 141 | | |
102 | 142 | | |
103 | 143 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
113 | 158 | | |
114 | 159 | | |
115 | 160 | | |
116 | 161 | | |
117 | | - | |
| 162 | + | |
118 | 163 | | |
119 | 164 | | |
120 | 165 | | |
121 | 166 | | |
122 | 167 | | |
123 | 168 | | |
124 | | - | |
| 169 | + | |
125 | 170 | | |
126 | 171 | | |
127 | 172 | | |
128 | 173 | | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
129 | 184 | | |
130 | 185 | | |
131 | 186 | | |
| |||
components/frontend/src/app/projects/[name]/sessions/[sessionName]/components/content-tabs.tsx
100644100755Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
| 35 | + | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
components/frontend/src/app/projects/[name]/sessions/[sessionName]/components/sessions-sidebar.tsx
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
448 | | - | |
| 448 | + | |
449 | 449 | | |
450 | 450 | | |
451 | 451 | | |
| |||
631 | 631 | | |
632 | 632 | | |
633 | 633 | | |
634 | | - | |
| 634 | + | |
635 | 635 | | |
636 | 636 | | |
637 | 637 | | |
| |||
0 commit comments