Skip to content

Commit 19922c4

Browse files
committed
fix(devices): keep long diagnostics from hiding device controls
1 parent 348f217 commit 19922c4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎apps/web/src/components/device/DevicePanel.tsx‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,9 @@ export function DevicePanel(props: {
170170
{hostReady && !activeDevice && state.hostStatusDetail ? (
171171
<div
172172
role="status"
173-
className="whitespace-pre-line border-b px-3 py-2 text-xs text-muted-foreground"
173+
aria-label="Device host diagnostics"
174+
tabIndex={0}
175+
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"
174176
>
175177
{state.hostStatusDetail}
176178
</div>

0 commit comments

Comments
 (0)