ac9f7a9299
The desktop terminal page sometimes grew an outer scrollbar because the terminal instance/wrapper/container chain lacked height constraints. Without min/max-height enforcement, xterm.js's internal viewport could expand its parent flex/grid track past the available space. - Add overflow: hidden to .terminal-page. - Add max-height: 100% and overflow: hidden to .terminal-instance. - Add max-height: 100% to .terminal-wrapper. - Add min-height: 0 to .terminal-container. - Constrain .xterm-viewport to max-height/width 100% so it fills but never exceeds its container. Quality gates: npm run typecheck, npm run lint, npm test -- --run (87 passed). Refs: openspec/changes/fix-terminal-container-overflow
1.5 KiB
1.5 KiB
apps/web/src (index)
dir: apps/web/src
role
Provides the core web application entry point, routing infrastructure, and shared domain type definitions for a React-based frontend.
parent
index: apps/web/.pi-map.index.md map: apps/web/.pi-map.md
children
- apps/web/src/api index: apps/web/src/api/.pi-map.index.md map: apps/web/src/api/.pi-map.md
- apps/web/src/components index: apps/web/src/components/.pi-map.index.md map: apps/web/src/components/.pi-map.md
- apps/web/src/hooks index: apps/web/src/hooks/.pi-map.index.md map: apps/web/src/hooks/.pi-map.md
- apps/web/src/pages index: apps/web/src/pages/.pi-map.index.md map: apps/web/src/pages/.pi-map.md
- apps/web/src/state index: apps/web/src/state/.pi-map.index.md map: apps/web/src/state/.pi-map.md
- apps/web/src/styles index: apps/web/src/styles/.pi-map.index.md map: apps/web/src/styles/.pi-map.md
- apps/web/src/test index: apps/web/src/test/.pi-map.index.md map: apps/web/src/test/.pi-map.md
- apps/web/src/types index: apps/web/src/types/.pi-map.index.md map: apps/web/src/types/.pi-map.md
- apps/web/src/utils index: apps/web/src/utils/.pi-map.index.md map: apps/web/src/utils/.pi-map.md
files
- main.tsx
- router.tsx
- types.ts
links
index: apps/web/src/.pi-map.index.md map: apps/web/src/.pi-map.md
workflows
- change src behavior read: main.tsx, router.tsx, types.ts
- explore src subdirectories index: apps/web/src/api/.pi-map.index.md, apps/web/src/components/.pi-map.index.md, apps/web/src/hooks/.pi-map.index.md