(hotfix) make header title styling work again
This commit is contained in:
@@ -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().
|
||||
|
||||
@@ -21,6 +21,7 @@ func (h Header) View(width int) string {
|
||||
lipgloss.Left,
|
||||
title,
|
||||
lipgloss.WithWhitespaceChars("─"),
|
||||
lipgloss.WithWhitespaceStyle(style.TitleStyle),
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user