refactor(tui): consistent chrome across all views #61

Merged
lerko merged 7 commits from fix/tui-chrome-consistency into main 2026-06-04 20:26:50 +00:00
Showing only changes of commit d4a2e9dd53 - Show all commits
+3 -2
View File
@@ -171,6 +171,7 @@ func (m Model) viewDashboard() string {
} }
} }
content = strings.TrimSpace(content)
footer := m.renderFooter(stats) footer := m.renderFooter(stats)
outerPad := lipgloss.NewStyle().Padding(1, 2) outerPad := lipgloss.NewStyle().Padding(1, 2)
@@ -285,9 +286,9 @@ func (m Model) renderFooter(stats dashboardStats) string {
} }
ver := subtleStyle.Render("v" + m.version) ver := subtleStyle.Render("v" + m.version)
footer := "\n" + statusLine + " " + subtleStyle.Render(keys) + " " + ver footer := statusLine + " " + subtleStyle.Render(keys) + " " + ver
if m.filterText != "" && m.currentTab == 0 { if m.filterText != "" && m.currentTab == 0 {
footer = "\n" + subtleStyle.Render(fmt.Sprintf("filter: %s", m.filterText)) + " " + statusLine + " " + subtleStyle.Render(keys) + " " + ver footer = subtleStyle.Render(fmt.Sprintf("filter: %s", m.filterText)) + " " + statusLine + " " + subtleStyle.Render(keys) + " " + ver
} }
return footer return footer
} }