on main help sign in
fix: increase padding in quit dialog
commit720f5b7a3063eba4b2670999754163257b06a957 authorChristian Rocha <christian@rocha.is> dateTue 8 Jul 2025, 12:41 (1 year ago) parente8620ef
1 file changed+3−2
internal/tui/components/dialogs/quit/quit.go+3−2
internal/tui/components/dialogs/quit/quit.go+3−2
@@ -79,8 +79,9 @@ func (q *quitDialogCmp) View() string {
7979 noStyle = noStyle.Background(t.BgSubtle)
8080 }
8181
82− yesButton := yesStyle.Padding(0, 1).Render("Yep!")
83− noButton := noStyle.Padding(0, 1).Render("Nope")
82+ const horizontalPadding = 3
83+ yesButton := yesStyle.Padding(0, horizontalPadding).Render("Yep!")
84+ noButton := noStyle.Padding(0, horizontalPadding).Render("Nope")
8485
8586 buttons := baseStyle.Width(lipgloss.Width(question)).Align(lipgloss.Right).Render(
8687 lipgloss.JoinHorizontal(lipgloss.Center, yesButton, " ", noButton),