summaryrefslogtreecommitdiffhomepage
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/tui/internal/components/dialog/help.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/tui/internal/components/dialog/help.go b/packages/tui/internal/components/dialog/help.go
index 45972e034..2ef887890 100644
--- a/packages/tui/internal/components/dialog/help.go
+++ b/packages/tui/internal/components/dialog/help.go
@@ -59,6 +59,8 @@ func (h *helpDialog) View() string {
descStyle := lipgloss.NewStyle().
Background(t.BackgroundElement()).
Foreground(t.TextMuted())
+ contentStyle := lipgloss.NewStyle().
+ PaddingLeft(1).Background(t.BackgroundElement())
lines := []string{}
for _, b := range h.bindings {
@@ -74,7 +76,7 @@ func (h *helpDialog) View() string {
}
}
- lines = append(lines, content)
+ lines = append(lines, contentStyle.Render(content))
}
return strings.Join(lines, "\n")