diff --git a/internal/client/ui/core/frequencylist/frequencylist.go b/internal/client/ui/core/frequencylist/frequencylist.go index df33be4..290e60a 100644 --- a/internal/client/ui/core/frequencylist/frequencylist.go +++ b/internal/client/ui/core/frequencylist/frequencylist.go @@ -29,7 +29,7 @@ var ( margin = 2 padding = 1 - frequencyStyle = lipgloss.NewStyle(). + frequencyStyle = lipgloss.NewStyle().MaxHeight(1). Margin(0, margin).Padding(0, padding).Align(lipgloss.Left) symbolReadWrite = "󰖩 " @@ -55,7 +55,7 @@ var ( } return notifs }() - notifStyle = lipgloss.NewStyle().Foreground(colors.Red) + notifStyle = lipgloss.NewStyle().Foreground(colors.Red).Inline(true) notifWidth = 2 ) @@ -139,10 +139,6 @@ func (m Model) View() string { } } - if m.index == m.base+i { - notifStyle = notifStyle.Background(colors.BackgroundHighlight) - } - frequencyName := "" if lipgloss.Width(frequency.Name) <= maxFrequencyWidth { frequencyName = lipgloss.NewStyle().