diff --git a/ui/components/footer/footer.go b/ui/components/footer/footer.go index 91b92952e96cf2abe65eed3f7c0615b4d869dd7e..eb97f8b9820780b77975217e62cbb414fe65678f 100644 --- a/ui/components/footer/footer.go +++ b/ui/components/footer/footer.go @@ -1,8 +1,6 @@ package footer import ( - "strings" - "github.com/charmbracelet/bubbles/help" "github.com/charmbracelet/bubbles/key" tea "github.com/charmbracelet/bubbletea" @@ -56,7 +54,7 @@ func (f *Footer) View() string { } s := f.common.Styles.Footer.Copy().Width(f.common.Width) helpView := f.help.View(f.keymap) - return s.Render(strings.TrimSpace(helpView)) + return s.Render(helpView) } // ShortHelp returns the short help key bindings. diff --git a/ui/styles/styles.go b/ui/styles/styles.go index 20a583b92779ed5ff0fe8ca53375888cd384aad1..ee783af0c2e17e1ab5db1e56a38ef1d218afef8e 100644 --- a/ui/styles/styles.go +++ b/ui/styles/styles.go @@ -211,6 +211,7 @@ func DefaultStyles() *Styles { Foreground(lipgloss.Color("15")) s.Footer = lipgloss.NewStyle(). + PaddingLeft(1). Height(1) s.Branch = lipgloss.NewStyle().