Skip to content

Commit

Permalink
fix(styling): unaligned headers
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelroses committed May 29, 2024
1 parent 2ca2609 commit 31e2ee7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/style.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,11 @@ var (
// TableStyle returns the style for the table
func TableStyle() table.Styles {
s := table.DefaultStyles()
s.Header = s.Header.
Bold(true).
Padding(0)
s.Header = s.Header.Bold(true)
s.Selected = s.Selected.
Foreground(lipgloss.Color(UserConfig.Colors.Inverttext)).
Background(lipgloss.Color(UserConfig.Colors.Accent)).
Bold(false)
s.Cell.Padding(0)

return s
}

0 comments on commit 31e2ee7

Please sign in to comment.