diff --git a/assets/alerts.png b/assets/alerts.png index 6fa6851..102dac1 100644 Binary files a/assets/alerts.png and b/assets/alerts.png differ diff --git a/assets/demo.gif b/assets/demo.gif index 7f749f6..c335a4a 100644 Binary files a/assets/demo.gif and b/assets/demo.gif differ diff --git a/assets/detail.png b/assets/detail.png index 4f88650..8fd7699 100644 Binary files a/assets/detail.png and b/assets/detail.png differ diff --git a/assets/logs.png b/assets/logs.png index 0600518..92bb11d 100644 Binary files a/assets/logs.png and b/assets/logs.png differ diff --git a/assets/monitors.png b/assets/monitors.png index a07af98..fe5a4b4 100644 Binary files a/assets/monitors.png and b/assets/monitors.png differ diff --git a/assets/nodes.png b/assets/nodes.png index 2e8e276..d6d8351 100644 Binary files a/assets/nodes.png and b/assets/nodes.png differ diff --git a/assets/theme.png b/assets/theme.png index 4f1c012..1e96634 100644 Binary files a/assets/theme.png and b/assets/theme.png differ diff --git a/assets/themes.png b/assets/themes.png index 064ad3c..5cdb9e2 100644 Binary files a/assets/themes.png and b/assets/themes.png differ diff --git a/internal/tui/view_dashboard.go b/internal/tui/view_dashboard.go index dadb755..d25e64b 100644 --- a/internal/tui/view_dashboard.go +++ b/internal/tui/view_dashboard.go @@ -181,18 +181,7 @@ func (m Model) viewDashboard() string { if contentHeight < 1 { contentHeight = 1 } - - contentLines := lipgloss.Height(content) - var paddedContent string - if contentLines < contentHeight { - topPad := (contentHeight - contentLines) / 3 - paddedContent = lipgloss.NewStyle(). - PaddingTop(topPad). - Height(contentHeight).MaxHeight(contentHeight). - Render(content) - } else { - paddedContent = lipgloss.NewStyle().Height(contentHeight).MaxHeight(contentHeight).Render(content) - } + paddedContent := lipgloss.NewStyle().Height(contentHeight).MaxHeight(contentHeight).Render(content) return outerPad.Render(lipgloss.JoinVertical(lipgloss.Top, header, paddedContent, footer)) }