(hotfix) make header title styling work again

This commit is contained in:
Robin Olsen
2026-03-22 14:02:19 +01:00
parent ee2456c3fd
commit 38ecf6f0af
2 changed files with 2 additions and 1 deletions

View File

@@ -33,7 +33,7 @@ var DefaultBorder = lipgloss.ThickBorder()
var (
HeaderStyle = lipgloss.NewStyle().Foreground(Primary).Padding(0, 1).Bold(true)
HeaderTitleStyle = lipgloss.NewStyle().Foreground(Primary).Bold(true).Padding(0)
HeaderTitleStyle = lipgloss.NewStyle().Foreground(Primary).Bold(true).PaddingRight(1)
)
var ContainerStyle = lipgloss.NewStyle().

View File

@@ -21,6 +21,7 @@ func (h Header) View(width int) string {
lipgloss.Left,
title,
lipgloss.WithWhitespaceChars("─"),
lipgloss.WithWhitespaceStyle(style.TitleStyle),
)
}