Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

fix(desktop): make command approval modal scrollable so buttons stay reachable

6 months ago

abe6eb6
Authored
Max Weinbach4/15/2026, 10:36:25 PM
Give the approval DialogContent the same flex-column + max-h-[88vh] + overflow-hidden layout used by the ask modal. The header and footer are pinned (shrink-0 + border), the command body scrolls independently, and the code block itself caps at 50vh to keep the Approve/Deny buttons always visible.

Made-with: Cursor

Parentc759419

1 file changed
  • apps/desktop/src/ui/PromptModal.tsx+16−10