Skip to content

Commit

Permalink
left align logs and errors (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
kitemongerer authored Nov 14, 2024
1 parent 6dbf3ef commit 3667d9b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkg/tui/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ var style = lipgloss.NewStyle().
BorderForeground(lipgloss.Color("#BA0D35")).
PaddingTop(2).
PaddingBottom(2).
PaddingRight(4).
PaddingLeft(4).
PaddingRight(1).
PaddingLeft(1).
MarginBottom(1)

type ErrorModel struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/tui/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const (
)

var viewportSylte = lipgloss.NewStyle().Border(lipgloss.NormalBorder(), false, false, true, false)
var logStyle = lipgloss.NewStyle().Padding(1, 2, 2, 2)
var logStyle = lipgloss.NewStyle().Padding(1, 2, 2, 0)
var filterStyle = lipgloss.NewStyle().Border(lipgloss.NormalBorder(), false, true, false, false)

type LogResult struct {
Expand Down

0 comments on commit 3667d9b

Please sign in to comment.