diff --git a/src/Web/autopilot-monitor-web/app/globals.css b/src/Web/autopilot-monitor-web/app/globals.css index 3ed1ee71..0fe54fe8 100644 --- a/src/Web/autopilot-monitor-web/app/globals.css +++ b/src/Web/autopilot-monitor-web/app/globals.css @@ -15,6 +15,12 @@ html { scroll-behavior: smooth; overflow-y: auto; + /* Clip (not hidden) any accidental horizontal overflow so a single + too-wide row can't make the whole page horizontally scrollable on + mobile. `clip` — unlike `hidden` — does not establish a scroll + container or a containing block, so fixed-position children (mobile + drawer + overlay) keep sizing against the viewport. */ + overflow-x: clip; scrollbar-gutter: stable; } diff --git a/src/Web/autopilot-monitor-web/app/sessions/[sessionId]/components/AnalysisResultsSection.tsx b/src/Web/autopilot-monitor-web/app/sessions/[sessionId]/components/AnalysisResultsSection.tsx index 30001afe..ed48b2ee 100644 --- a/src/Web/autopilot-monitor-web/app/sessions/[sessionId]/components/AnalysisResultsSection.tsx +++ b/src/Web/autopilot-monitor-web/app/sessions/[sessionId]/components/AnalysisResultsSection.tsx @@ -66,17 +66,17 @@ export default function AnalysisResultsSection({
setAnalysisExpanded(!analysisExpanded)} - className="flex items-center justify-between w-full text-left mb-4 cursor-pointer" + className="flex items-start justify-between gap-2 w-full text-left mb-4 cursor-pointer" > -
- +
+

Analysis Results

{analysisResults.length > 0 && ( <> ({analysisResults.length} {analysisResults.length === 1 ? 'issue' : 'issues'}) -
+
{analysisResults.filter(r => r.severity === 'critical').length > 0 && ( {analysisResults.filter(r => r.severity === 'critical').length} Critical @@ -96,7 +96,7 @@ export default function AnalysisResultsSection({ )}
-
+