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