From a1c20cbfc5a90642e486132d4673646342df13fd Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Sun, 2 Feb 2025 18:35:36 +0200 Subject: Corrected separator background to match the background of the section they separate --- internal/client/ui/core/banlist/banlist.go | 2 +- internal/client/ui/core/frequencylist/frequencylist.go | 2 +- internal/client/ui/core/memberlist/memberlist.go | 2 +- internal/client/ui/core/peerlist/peerlist.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'internal/client/ui/core') diff --git a/internal/client/ui/core/banlist/banlist.go b/internal/client/ui/core/banlist/banlist.go index 96f9b23..c7f741d 100644 --- a/internal/client/ui/core/banlist/banlist.go +++ b/internal/client/ui/core/banlist/banlist.go @@ -17,7 +17,7 @@ import ( ) var ( - sepStyle = lipgloss.NewStyle().Width(0).Background(colors.BackgroundDim). + sepStyle = lipgloss.NewStyle().Width(0).BorderBackground(colors.BackgroundDim). Border(lipgloss.ThickBorder(), false, true, false, false) headerStyle = lipgloss.NewStyle().Background(colors.BackgroundDim). diff --git a/internal/client/ui/core/frequencylist/frequencylist.go b/internal/client/ui/core/frequencylist/frequencylist.go index 290e60a..f2b468c 100644 --- a/internal/client/ui/core/frequencylist/frequencylist.go +++ b/internal/client/ui/core/frequencylist/frequencylist.go @@ -17,7 +17,7 @@ import ( ) var ( - sepStyle = lipgloss.NewStyle().Width(0). + sepStyle = lipgloss.NewStyle().Width(0).BorderBackground(colors.BackgroundDim). Border(lipgloss.ThickBorder(), false, true, false, false) nameStyle = lipgloss.NewStyle(). diff --git a/internal/client/ui/core/memberlist/memberlist.go b/internal/client/ui/core/memberlist/memberlist.go index 9edeb4b..d6fbc59 100644 --- a/internal/client/ui/core/memberlist/memberlist.go +++ b/internal/client/ui/core/memberlist/memberlist.go @@ -18,7 +18,7 @@ import ( ) var ( - sepStyle = lipgloss.NewStyle().Width(0).Background(colors.BackgroundDim). + sepStyle = lipgloss.NewStyle().Width(0).BorderBackground(colors.BackgroundDim). Border(lipgloss.ThickBorder(), false, true, false, false) headerStyle = lipgloss.NewStyle().Background(colors.BackgroundDim). diff --git a/internal/client/ui/core/peerlist/peerlist.go b/internal/client/ui/core/peerlist/peerlist.go index dc2eaef..2a521c7 100644 --- a/internal/client/ui/core/peerlist/peerlist.go +++ b/internal/client/ui/core/peerlist/peerlist.go @@ -18,7 +18,7 @@ import ( ) var ( - sepStyle = lipgloss.NewStyle().Width(0). + sepStyle = lipgloss.NewStyle().Width(0).BorderBackground(colors.BackgroundDim). Border(lipgloss.ThickBorder(), false, true, false, false) nameStyle = lipgloss.NewStyle(). -- cgit v1.3.1