Remove all lipgloss styling from history view - use plain text only

This commit is contained in:
2025-11-07 12:44:25 +00:00
parent 0a5fba166d
commit e4e8e59762
2 changed files with 3 additions and 4 deletions

View File

@ -184,8 +184,7 @@ func (m HistoryViewModel) View() string {
s.WriteString(fmt.Sprintf("\n%s\n\n", header))
if len(m.history) == 0 {
s.WriteString(infoStyle.Render("📭 No backup history found"))
s.WriteString("\n\n")
s.WriteString("📭 No backup history found\n\n")
} else {
maxVisible := 15 // Show max 15 items at once
@ -201,7 +200,7 @@ func (m HistoryViewModel) View() string {
// Show scroll indicators
if start > 0 {
s.WriteString(infoStyle.Render(" ▲ More entries above...\n"))
s.WriteString(" ▲ More entries above...\n")
}
// Display only visible entries
@ -223,7 +222,7 @@ func (m HistoryViewModel) View() string {
// Show scroll indicator if more entries below
if end < len(m.history) {
s.WriteString(infoStyle.Render(fmt.Sprintf(" ▼ %d more entries below...\n", len(m.history)-end)))
s.WriteString(fmt.Sprintf(" ▼ %d more entries below...\n", len(m.history)-end))
}
s.WriteString("\n")