Change summary
internal/tui/components/dialogs/quit/quit.go | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Detailed changes
@@ -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),