diff --git a/internal/tui/components/dialog/quit.go b/internal/tui/components/dialog/quit.go index 0331a9ac5fe433b0a02b39a1f498ce8a28d4bb78..edb67f694f4161c39ae6e9ad471a7eb7e45cd65d 100644 --- a/internal/tui/components/dialog/quit.go +++ b/internal/tui/components/dialog/quit.go @@ -117,11 +117,14 @@ func (q *quitDialogCmp) View() string { ), ) - return baseStyle.Padding(1, 2). + quitDialogStyle := baseStyle. + Padding(1, 2). Border(lipgloss.RoundedBorder()). BorderBackground(t.Background()). - BorderForeground(t.TextMuted()). - Width(lipgloss.Width(content) + 4). + BorderForeground(t.TextMuted()) + + return quitDialogStyle. + Width(lipgloss.Width(content) + quitDialogStyle.GetHorizontalFrameSize()). Render(content) }