Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions apps/web/src/components/device/DevicePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,9 @@ export function DevicePanel(props: {
{hostReady && !activeDevice && state.hostStatusDetail ? (
<div
role="status"
className="whitespace-pre-line border-b px-3 py-2 text-xs text-muted-foreground"
aria-label="Device host diagnostics"
tabIndex={0}
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"
Comment thread
Quicksaver marked this conversation as resolved.
>
{state.hostStatusDetail}
</div>
Expand Down Expand Up @@ -229,7 +231,10 @@ export function DevicePanel(props: {
{grouped.length === 0 ? (
<>
<Smartphone className="size-6 opacity-60" />
<p className="max-w-sm">
<p
className="max-h-32 w-full max-w-sm overflow-y-auto whitespace-pre-line break-words"
tabIndex={state.hostStatus === "failed" ? 0 : undefined}
>
{state.hostStatus === "failed"
? (state.hostStatusDetail ?? "The device hub failed to start.")
: "No simulators or emulators were found on this environment."}
Expand Down
Loading