Remove all lipgloss styling from history view - use plain text only
This commit is contained in:
@ -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")
|
||||
|
||||
Reference in New Issue
Block a user