@@ -529,6 +529,9 @@ func (p *permissionDialogCmp) SetSize() tea.Cmd {
529529 // Default to diff split mode when dialog is wide enough.
530530 p.defaultDiffSplitMode = p.width >= 140
531531
532+ // Set a maximum width for the dialog
533+ p.width = min(p.width, 180)
534+
532535 // Mark content as dirty if size changed
533536 if oldWidth != p.width || oldHeight != p.height {
534537 p.contentDirty = true