From 3dfac0bde03964bb7284803cf4d4021c09ec6878 Mon Sep 17 00:00:00 2001 From: Kujtim Hoxha Date: Tue, 15 Jul 2025 11:46:19 +0200 Subject: [PATCH] chore: move the permissions dialog a bit up --- internal/tui/components/dialogs/permissions/permissions.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/tui/components/dialogs/permissions/permissions.go b/internal/tui/components/dialogs/permissions/permissions.go index 1bfb31186a596741da25566fcd15ad9fdf9c64eb..0bbaa034ed2357cc4643ad92c0a680bb01cf61ff 100644 --- a/internal/tui/components/dialogs/permissions/permissions.go +++ b/internal/tui/components/dialogs/permissions/permissions.go @@ -451,6 +451,7 @@ func (p *permissionDialogCmp) render() string { p.positionRow = p.wHeight / 2 p.positionRow -= (contentHeight + 9) / 2 + p.positionRow -= 3 // Move dialog slightly higher than middle var contentHelp string if p.supportsDiffView() { @@ -517,6 +518,7 @@ func (p *permissionDialogCmp) SetSize() tea.Cmd { } p.positionRow = p.wHeight / 2 p.positionRow -= p.height / 2 + p.positionRow -= 3 // Move dialog slightly higher than middle p.positionCol = p.wWidth / 2 p.positionCol -= p.width / 2 return nil