# Fix Terminal Container Overflow on Desktop — Tasks - [x] Discard debug `terminal.tsx` changes from `debug/mobile-terminal-scroll`. - [x] Create focused branch `fix/terminal-container-overflow` from `dev`. - [x] Update `utilities.css` to prevent terminal container from overflowing its flex/grid track: - [x] `.terminal-page`: add `overflow: hidden`. - [x] `.terminal-instance`: add `max-height: 100%` and `overflow: hidden`. - [x] `.terminal-wrapper`: add `max-height: 100%`. - [x] `.terminal-container`: add `min-height: 0`. - [x] `.terminal-container .xterm-viewport`: add `max-height: 100% !important` and `width: 100% !important`. - [x] Run `npm run typecheck` and `npm run lint` in `apps/web`. - [x] Run `npm test -- --run` in `apps/web` (87 passed). - [x] Update project maps for changed files.