The best way to control Claude Code, Codex and more from any computer or phone
fix(devices): keep long diagnostics from hiding device controls (#19973)
Luís Miguel committed
Oct 18, 2026 at 20:01 UTC
7138e6ef2a9f02a216bedb0b0e51be4c910f1084
1 file changed
+7
-2
apps/web/src/components/device/DevicePanel.tsx
+7
-2
@@ -157,7 +157,9 @@ export function DevicePanel(props: {
157
{hostReady && !activeDevice && state.hostStatusDetail ? (
158
<div
159
role="status"
160
- className="whitespace-pre-line border-b px-3 py-2 text-xs text-muted-foreground"
160
+ aria-label="Device host diagnostics"
161
+ tabIndex={0}
162
+ className="max-h-32 shrink-0 overflow-y-auto whitespace-pre-line break-words border-b px-3 py-2 text-xs text-muted-foreground"
163
>
164
{state.hostStatusDetail}
165
</div>
@@ -229,7 +231,10 @@ export function DevicePanel(props: {
231
{grouped.length === 0 ? (
232
<>
233
<Smartphone className="size-6 opacity-60" />
232
- <p className="max-w-sm">
234
+ <p
235
+ className="max-h-32 w-full max-w-sm overflow-y-auto whitespace-pre-line break-words"
236
+ tabIndex={state.hostStatus === "failed" ? 0 : undefined}
237
+ >
238
{state.hostStatus === "failed"
239
? (state.hostStatusDetail ?? "The device hub failed to start.")
240
: "No simulators or emulators were found on this environment."}