From d050bb04ea088e9494092156fffafc331917eff6 Mon Sep 17 00:00:00 2001 From: ewy Date: Fri, 17 Apr 2026 01:03:33 +0200 Subject: realign icons with source names again --- menu/source.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'menu') diff --git a/menu/source.go b/menu/source.go index 68152fa..320a117 100644 --- a/menu/source.go +++ b/menu/source.go @@ -24,7 +24,7 @@ var ( }) SourceIconStyle = style.New(func() lipgloss.Style { - st := lipgloss.NewStyle().PaddingRight(1) + st := lipgloss.NewStyle().PaddingRight(1).Width(3) return st }) @@ -46,7 +46,7 @@ func (m *Model) Source(src *model.HydratedSource) string { targetContent := lipgloss.JoinVertical(lipgloss.Top, targets...) - icon := SourceIconStyle.Render(Icon(src.Icon)) + icon := SourceIconStyle.Render(src.Icon) parts := []string{ SourceHeaderStyle.Render(lipgloss.JoinHorizontal(lipgloss.Left, SourceLabelStyle.Render(lipgloss.JoinHorizontal(lipgloss.Left, icon, src.Label()), SourcePathStyle.Render(src.ShortPath())))), -- cgit v1.3