From 6f63878987d24e101bcbadea4759b65aa24ad51e Mon Sep 17 00:00:00 2001 From: Vilsol Date: Sat, 6 Nov 2021 00:01:35 +0200 Subject: [PATCH] Fix for janky menu? --- tea/scenes/main_menu.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tea/scenes/main_menu.go b/tea/scenes/main_menu.go index 6af4a14..7919f62 100644 --- a/tea/scenes/main_menu.go +++ b/tea/scenes/main_menu.go @@ -103,7 +103,7 @@ func (m mainMenu) Update(msg tea.Msg) (tea.Model, tea.Cmd) { return m, cmd } case tea.WindowSizeMsg: - top, right, bottom, left := lipgloss.NewStyle().Margin(1, 2).GetMargin() + top, right, bottom, left := lipgloss.NewStyle().Margin(2, 2).GetMargin() m.list.SetSize(msg.Width-left-right, msg.Height-top-bottom) }