Fix for janky menu?
This commit is contained in:
parent
4fadd21214
commit
6f63878987
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue