From 720f5b7a3063eba4b2670999754163257b06a957 Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Tue, 8 Jul 2025 12:41:37 -0400 Subject: [PATCH] fix: increase padding in quit dialog --- internal/tui/components/dialogs/quit/quit.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/internal/tui/components/dialogs/quit/quit.go b/internal/tui/components/dialogs/quit/quit.go index 90f2b278d60cd67f04e79f31b96c610656ad3708..190303b71eaf31984d0c0c164cb1ae39cc8fa9fe 100644 --- a/internal/tui/components/dialogs/quit/quit.go +++ b/internal/tui/components/dialogs/quit/quit.go @@ -79,8 +79,9 @@ func (q *quitDialogCmp) View() string { noStyle = noStyle.Background(t.BgSubtle) } - yesButton := yesStyle.Padding(0, 1).Render("Yep!") - noButton := noStyle.Padding(0, 1).Render("Nope") + const horizontalPadding = 3 + yesButton := yesStyle.Padding(0, horizontalPadding).Render("Yep!") + noButton := noStyle.Padding(0, horizontalPadding).Render("Nope") buttons := baseStyle.Width(lipgloss.Width(question)).Align(lipgloss.Right).Render( lipgloss.JoinHorizontal(lipgloss.Center, yesButton, " ", noButton),