From 7435512ffbba4a51900942d0e9db27998b17a189 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20H=C3=A5rek=20Andreassen?= Date: Sat, 5 Oct 2024 18:33:20 +0200 Subject: [PATCH] style: Rounded border MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tim HĂ„rek Andreassen --- cmd/internal/ui/table/table.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cmd/internal/ui/table/table.go b/cmd/internal/ui/table/table.go index 9cd4943..bc16aed 100644 --- a/cmd/internal/ui/table/table.go +++ b/cmd/internal/ui/table/table.go @@ -19,12 +19,10 @@ func New() *table.Table { HeaderStyle = re.NewStyle().Foreground(white).Bold(true).Align(lipgloss.Center) CellStyle = re.NewStyle().Padding(0, 2) EvenRowStyle = CellStyle.Foreground(lightGray) - BorderStyle = lipgloss.NewStyle().Foreground(white) ) t := table.New(). - Border(lipgloss.NormalBorder()). - BorderStyle(BorderStyle). + Border(lipgloss.RoundedBorder()). StyleFunc(func(row, col int) lipgloss.Style { switch { case row == 0: